[GIT,PULL,0/9] vfio-pci updates & VGA support

Message ID 20130401195242.17115.51929.stgit@bling.home
State New
Headers show


git://github.com/awilliam/qemu-vfio.git tags/vfio-pci-for-qemu-20130401.0


Alex Williamson April 1, 2013, 7:57 p.m.
Hi Anthony,

The following changes since commit 174d4d215fb49b4d43196e62f22c2533431b260e:

  tcg/mips: Implement muls2_i32 (2013-04-01 18:49:17 +0200)

are available in the git repository at:

  git://github.com/awilliam/qemu-vfio.git tags/vfio-pci-for-qemu-20130401.0

for you to fetch changes up to 6dcfdbad69aa510bc87b4a2585a597e028ca4eaa:

  vfio: cleanup includes (2013-04-01 13:35:40 -0600)


Linux kernel v3.9 adds a VGA interface to vfio allowing userspace
access to legacy VGA address space.  This series takes advantage
of that to enable assignment of graphics cards.  However, as found
in patch 5, graphics cards are not just regular PCI devices.  Both
ATI/AMD and Nvidia cards have their fair share of back doors to get
to PCI config space.  The quirks here handle redirecting backdoor
config space and methods to determine physical addresses through
emulated config space from the guest vCPU.  Still a concern is GPU
access to the same as we have no way to virtualize such accesses.
With this in-tree as an experimental feature we can hopefully get
some user reports on whether this is sufficient or if we'll need to
adopt an identity mapping solution for full support.  Note that only
secondary, non-IGD graphics have been tested.  For Q35 an updated
BIOS from SeaBIOS is recommended and the graphics card should ideally
be exposed under a PCIe root port for the guest.

Also included in this series is the previously posted v3.9-rc2 linux
headers update.  I include it here because the only modified file is
for vfio.  Also add trivial bootindex support for vfio-pci, add PCIe
device type mangling to better support Q35, restore devices to power
state D0 on reset, and cleanup debug prints.


Alex Williamson (9):
      linux-headers: Update to v3.9-rc2
      vfio-pci: Generalize PCI config mangling
      vfio-pci: Add PCIe capability mangling based on bus type
      qemu vfio-pci: Add support for VGA MMIO and I/O port access
      qemu vfio-pci: Graphics device quirks
      vfio-pci: Add extra debugging
      vfio-pci: Move devices to D0 on reset
      vfio: Add bootindex support
      vfio: cleanup includes

 hw/vfio_pci.c              | 1174 ++++++++++++++++++++++++++++++++++++++++++--
 linux-headers/linux/vfio.h |    9 
 2 files changed, 1128 insertions(+), 55 deletions(-)