qemu-irix/include/hw
David Gibson c10325d6f9 spapr_iommu: Provide a function to switch a TCE table to allowing VFIO
Because of the way non-VFIO guest IOMMU operations are KVM accelerated, not
all TCE tables (guest IOMMU contexts) can support VFIO devices.  Currently,
this is decided at creation time.

To support hotplug of VFIO devices, we need to allow a TCE table which
previously didn't allow VFIO devices to be switched so that it can.  This
patch adds an spapr_tce_set_need_vfio() function to do this, by
reallocating the table in userspace if necessary.

Currently this doesn't allow the KVM acceleration to be re-enabled if all
the VFIO devices are removed.  That's an optimization for another time.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
2015-10-23 10:38:10 +11:00
..
acpi hw/arm/virt: Add gic-version option to virt machine 2015-09-24 01:29:37 +01:00
arm hw/arm/virt: Add gic-version option to virt machine 2015-09-24 01:29:37 +01:00
audio
block
char
cpu icc_bus: drop the unused files 2015-10-02 16:22:02 -03:00
cris
gpio i.MX: Add GPIO device 2015-09-14 14:39:49 +01:00
i2c
i386 i386: keep cpu_model field in MachineState uptodate 2015-10-22 14:34:50 +03:00
input
intc hw/intc: Implement GIC-500 base class 2015-09-24 01:29:36 +01:00
ipack
isa
kvm
lm32
m68k
mem memhp: extend address auto assignment to support gaps 2015-10-02 17:04:32 +03:00
mips
misc
net
nvram Implement fw_cfg DMA interface 2015-10-19 15:26:53 +02:00
pci hw/pci: Introduce pci_requester_id() 2015-10-19 10:13:07 +02:00
pci-host spapr_pci: Allow PCI host bridge DMA window to be configured 2015-10-23 10:38:10 +11:00
ppc spapr_iommu: Provide a function to switch a TCE table to allowing VFIO 2015-10-23 10:38:10 +11:00
s390x
scsi
sh4
smbios
sparc
timer hpet: remove muldiv64() 2015-09-25 14:56:05 +02:00
tricore
unicore32
usb
vfio vfio: Record host IOMMU's available IO page sizes 2015-10-05 12:38:41 -06:00
virtio vhost user: add rarp sending after live migration for legacy guest 2015-10-22 14:34:49 +03:00
watchdog
xen xen-2015-09-10 2015-09-10 18:25:52 +01:00
boards.h machine: Eliminate QEMUMachine and qemu_register_machine() 2015-09-19 16:40:30 +02:00
bt.h
compat.h pc: Introduce pc-*-2.5 machine classes 2015-09-24 13:42:00 +03:00
devices.h
elf_ops.h elf: Update EM_MOXIE definition 2015-09-25 12:04:43 +02:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qdev: Protect device-list-properties against broken devices 2015-10-09 15:25:57 +02:00
qdev-dma.h
qdev-properties.h
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h