summaryrefslogtreecommitdiffstats
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorAlex Williamson2013-04-01 21:33:44 +0200
committerAlex Williamson2013-04-01 21:33:44 +0200
commitf15689c7e4422d5453ae45628df5b83a53e518ed (patch)
tree8d3d66e49c884a6da24d16a63e9626af442f32cf /device-hotplug.c
parentvfio-pci: Add PCIe capability mangling based on bus type (diff)
downloadqemu-f15689c7e4422d5453ae45628df5b83a53e518ed.tar.gz
qemu-f15689c7e4422d5453ae45628df5b83a53e518ed.tar.xz
qemu-f15689c7e4422d5453ae45628df5b83a53e518ed.zip
qemu vfio-pci: Add support for VGA MMIO and I/O port access
Most VGA cards need some kind of quirk to fully operate since they hide backdoors to get to other registers outside of PCI config space within the registers, but this provides the base infrastructure. If we could identity map PCI resources for assigned devices we would need a lot fewer quirks. To enable this, use a kernel side vfio-pci driver that incorporates VGA support (v3.9), and use the -vga none option and add the x-vga=on option for the vfio-pci device. The "x-" denotes this as an experimental feature. You may also need to use a cached copy of the VGA BIOS for your device, passing it to vfio-pci using the romfile= option. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'device-hotplug.c')
0 files changed, 0 insertions, 0 deletions