From patchwork Tue Mar 17 03:50:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng Yang X-Patchwork-Id: 12549 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2H3pZdR014488 for ; Tue, 17 Mar 2009 03:51:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762755AbZCQDvD (ORCPT ); Mon, 16 Mar 2009 23:51:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762790AbZCQDvB (ORCPT ); Mon, 16 Mar 2009 23:51:01 -0400 Received: from mga02.intel.com ([134.134.136.20]:36484 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761268AbZCQDuZ (ORCPT ); Mon, 16 Mar 2009 23:50:25 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 16 Mar 2009 20:44:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,375,1233561600"; d="scan'208";a="498332765" Received: from syang10-desktop.sh.intel.com (HELO syang10-desktop) ([10.239.13.189]) by orsmga001.jf.intel.com with ESMTP; 16 Mar 2009 20:49:56 -0700 Received: from yasker by syang10-desktop with local (Exim 4.69) (envelope-from ) id 1LjQJm-0007Hk-4U; Tue, 17 Mar 2009 11:50:18 +0800 From: Sheng Yang To: Avi Kivity , Marcelo Tosatti , Anthony Liguori Cc: kvm@vger.kernel.org, Sheng Yang Subject: [PATCH 11/16] Add MSI-X related macro to pci.c Date: Tue, 17 Mar 2009 11:50:12 +0800 Message-Id: <1237261817-27955-12-git-send-email-sheng@linux.intel.com> X-Mailer: git-send-email 1.5.6.3 In-Reply-To: <1237261817-27955-1-git-send-email-sheng@linux.intel.com> References: <1237261817-27955-1-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Signed-off-by: Sheng Yang --- qemu/hw/pci.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/hw/pci.h b/qemu/hw/pci.h index 4f494e7..67fd1b9 100644 --- a/qemu/hw/pci.h +++ b/qemu/hw/pci.h @@ -146,6 +146,7 @@ typedef struct PCIIORegion { #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 struct PCIDevice { /* PCI config space */