From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony PERARD Subject: [PATCH V12 0/9] Xen PCI Passthrough Date: Tue, 12 Jun 2012 16:05:14 +0100 Message-ID: <1339513523-1699-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: QEMU-devel Cc: Anthony PERARD , Anthony Liguori , Stefano Stabellini , "Michael S. Tsirkin" , Xen Devel List-Id: xen-devel@lists.xenproject.org Hi all, This patch series introduces the PCI passthrough for Xen. Please ack the generic bits so that Stefano can send a pull request: patches 1, 2, 4 and 5. Thanks, Changes since the last time: - new patch to export pci_parse_devaddr, so it can be used to parse a BDF in xen_pt. # the other option would be to introduce a new function name in pci.c or to # copy/paste the function. - few more comment in XenHostPCIDevice about the buffer size used. Allen Kay (2): Introduce Xen PCI Passthrough, qdevice (1/3) Introduce Xen PCI Passthrough, PCI config space helpers (2/3) Anthony PERARD (6): pci_ids: Add INTEL_82599_SFP_VF id. configure: Introduce --enable-xen-pci-passthrough. Introduce XenHostPCIDevice to access a pci device on the host. pci.c: Add opaque argument to pci_for_each_device. Revert "pci: don't export an internal function" Introduce apic-msidef.h Jiang Yunhong (1): Introduce Xen PCI Passthrough, MSI (3/3) configure | 29 + hw/apic-msidef.h | 30 + hw/apic.c | 11 +- hw/i386/Makefile.objs | 2 + hw/pci.c | 13 +- hw/pci.h | 6 +- hw/pci_ids.h | 1 + hw/xen-host-pci-device.c | 396 ++++++++++ hw/xen-host-pci-device.h | 55 ++ hw/xen_common.h | 3 + hw/xen_platform.c | 8 +- hw/xen_pt.c | 854 +++++++++++++++++++++ hw/xen_pt.h | 301 ++++++++ hw/xen_pt_config_init.c | 1869 ++++++++++++++++++++++++++++++++++++++++++++++ hw/xen_pt_msi.c | 620 +++++++++++++++ xen-all.c | 12 + 16 files changed, 4190 insertions(+), 20 deletions(-) create mode 100644 hw/apic-msidef.h create mode 100644 hw/xen-host-pci-device.c create mode 100644 hw/xen-host-pci-device.h create mode 100644 hw/xen_pt.c create mode 100644 hw/xen_pt.h create mode 100644 hw/xen_pt_config_init.c create mode 100644 hw/xen_pt_msi.c -- Anthony PERARD