From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm: Fix wrong counting of MSI-X table size Date: Thu, 09 Apr 2009 18:35:52 +0300 Message-ID: <49DE15D8.9010108@redhat.com> References: <1239157856-15295-1-git-send-email-sheng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org, Alex Williamson To: Sheng Yang Return-path: Received: from mx2.redhat.com ([66.187.237.31]:54277 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760981AbZDIPf6 (ORCPT ); Thu, 9 Apr 2009 11:35:58 -0400 In-Reply-To: <1239157856-15295-1-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Sheng Yang wrote: > The PCI spec said... > > System software reads this field to determine the MSI-X Table Size *N= *, > which is encoded as *N-1*. For example, a returned value of =E2=80=9C= 00000000011=E2=80=9D > indicates a table size of 4. > > =20 Applied, thanks. --=20 Do not meddle in the internals of kernels, for they are subtle and quic= k to panic.