[RFC PATCH 0/5] QEMU VFIO device assignment

Alex Williamson
2010-07-11T18:09:39Z

The following series implements QEMU device assignment using the
proposed VFIO/UIOMMU kernel interfaces. See the last patch for
further vfio description. I've tested this on the v2 VFIO patch,
with a number of fixes hacked in along the way. I'll update when
Tom releases a new version of VFIO. Hopefully this will provide
some support for the usefulness of such an interfaces. Thanks,

Alex

---

Alex Williamson (5):
VFIO based device assignment
APIC/IOAPIC EOI callback
RAM API: Make use of it for x86 PC
Minimal RAM API support
qemu_ram_map/unmap: Allow pre-allocated space to be mapped

Makefile.target | 2
cpu-common.h | 5
exec.c | 56 ++
hw/apic.c | 18 +
hw/apic.h | 4
hw/ioapic.c | 29 +
hw/linux-vfio.h | 200 ++++++++
hw/pc.c | 12 -
hw/pc.h | 12 -
hw/vfio.c | 1295 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
hw/vfio.h | 90 ++++
memory.c | 77 +++
memory.h | 23 +
13 files changed, 1812 insertions(+), 11 deletions(-)
create mode 100644 hw/linux-vfio.h
create mode 100644 hw/vfio.c
create mode 100644 hw/vfio.h
create mode 100644 memory.c
create mode 100644 memory.h