From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH 2/5] pci: MSI-X capability is 12 bytes, not 16, MSI is 10 bytes Date: Fri, 03 Dec 2010 12:33:45 -0700 Message-ID: <20101203193335.3579.25744.stgit@s20.home> References: <20101203192343.3579.73722.stgit@s20.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: alex.williamson@redhat.com, ddutile@redhat.com, mst@redhat.com, chrisw@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57588 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753059Ab0LCTdr (ORCPT ); Fri, 3 Dec 2010 14:33:47 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB3JXklr017827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 3 Dec 2010 14:33:46 -0500 In-Reply-To: <20101203192343.3579.73722.stgit@s20.home> Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Alex Williamson --- hw/pci.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pci.h b/hw/pci.h index 34955d8..7c52637 100644 --- a/hw/pci.h +++ b/hw/pci.h @@ -124,8 +124,8 @@ enum { #define PCI_CAPABILITY_CONFIG_MAX_LENGTH 0x60 #define PCI_CAPABILITY_CONFIG_DEFAULT_START_ADDR 0x40 -#define PCI_CAPABILITY_CONFIG_MSI_LENGTH 0x10 -#define PCI_CAPABILITY_CONFIG_MSIX_LENGTH 0x10 +#define PCI_CAPABILITY_CONFIG_MSI_LENGTH 0xa +#define PCI_CAPABILITY_CONFIG_MSIX_LENGTH 0x0c typedef int (*msix_mask_notifier_func)(PCIDevice *, unsigned vector, int masked);