]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Prefer VFIO for PCI device passthrough
authorPeter Krempa <pkrempa@redhat.com>
Fri, 20 Sep 2013 08:39:51 +0000 (10:39 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 10 Oct 2013 10:00:56 +0000 (12:00 +0200)
commitf094aaac48a6bbeef87a4df0345dfe2964297298
tree435b1f943a6bd4bd3974134ec07b4344d605075a
parent467b561ac2ca7cb968d7a1d781e715cdd7bf3d14
qemu: Prefer VFIO for PCI device passthrough

Prefer using VFIO (if available) to the legacy KVM device passthrough.

With this patch a PCI passthrough device without the driver configured
will be started with VFIO if it's available on the host. If not legacy
KVM passthrough is checked and error is reported if it's not available.
docs/formatdomain.html.in
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_command.c
src/qemu/qemu_hostdev.c
src/qemu/qemu_hostdev.h
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c
tests/qemuxml2argvtest.c