libvirt/src/qemu
Laine Stump cc0a918872 qemu: bind/unbind stub driver according to config <driver name='x'/>
If the config for a device has specified <driver name='vfio'/>,
"backend" in the pci part of the hostdev object will be set to
..._VFIO. In this case, when creating a virPCIDevice set the
stubDriver to "vfio-pci", otherwise set it to "pci-stub". We will rely
on the lower levels to report an error if the vfio driver isn't
loaded.

The detach/attach functions in virpci.c will pay attention to the
stubDriver setting in the device, and bind/unbind the appropriate
driver when preparing hostdevs for the domain.

Note that we don't yet attempt to do anything to mark active any other
devices in the same vfio "group" as a single device that is being
marked active. We do need to do that, but in order to get basic VFIO
functionality testing sooner rather than later, initially we'll just
live with more cryptic errors when someone tries to do that.
2013-04-25 21:28:10 -04:00
..
libvirtd_qemu.aug qemu_conf: add new configuration key bridge_helper 2013-04-18 14:58:33 -06:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c qemu_agent: Add support for appending arrays to commands 2013-04-16 10:38:30 +02:00
qemu_agent.h Convert virDomainObj, qemuAgent, qemuMonitor, lxcMonitor to virObjectLockable 2013-01-16 11:02:58 +00:00
qemu_bridge_filter.c Rename virterror.c virterror_internal.h to virerror.{c,h} 2012-12-21 11:19:50 +00:00
qemu_bridge_filter.h Replace 'struct qemud_driver *' with virQEMUDriverPtr 2012-11-28 18:17:25 +00:00
qemu_capabilities.c qemu: detect vfio-pci device and its bootindex parameter 2013-04-25 21:23:38 -04:00
qemu_capabilities.h qemu: detect vfio-pci device and its bootindex parameter 2013-04-25 21:23:38 -04:00
qemu_cgroup.c Replace more cases of /system with /machine 2013-04-22 17:11:36 +01:00
qemu_cgroup.h Change default cgroup layout for QEMU/LXC and honour XML config 2013-04-15 17:35:31 +01:00
qemu_command.c qemu: use vfio-pci on commandline when appropriate 2013-04-25 21:28:10 -04:00
qemu_command.h qemu: auto-add bridges and allow using them 2013-04-25 13:19:40 +02:00
qemu_conf.c qemu_conf: Don't discard strdup OOM error 2013-04-25 13:45:37 +02:00
qemu_conf.h qemu_conf: add new configuration key bridge_helper 2013-04-18 14:58:33 -06:00
qemu_domain.c qemu: fix build error with older platforms 2013-04-25 11:26:58 -06:00
qemu_domain.h Store a virCgroupPtr instance in qemuDomainObjPrivatePtr 2013-04-15 17:35:31 +01:00
qemu_driver.c qemu: Don't require a block or file when looking for an alias 2013-04-24 16:29:26 -06:00
qemu_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
qemu_hostdev.c qemu: bind/unbind stub driver according to config <driver name='x'/> 2013-04-25 21:28:10 -04:00
qemu_hostdev.h Rename all USB device functions to have a standard name prefix 2013-02-05 19:22:25 +00:00
qemu_hotplug.c qemu: use vfio-pci on commandline when appropriate 2013-04-25 21:28:10 -04:00
qemu_hotplug.h S390: Add hotplug support for s390 virtio devices 2013-03-13 18:13:09 -06:00
qemu_migration.c Store a virCgroupPtr instance in qemuDomainObjPrivatePtr 2013-04-15 17:35:31 +01:00
qemu_migration.h qemu: Add support for compressed migration 2013-02-22 17:35:58 +01:00
qemu_monitor_json.c Check for unsupported QMP command 2013-04-16 07:05:21 -04:00
qemu_monitor_json.h Add QMP probing for TPM 2013-04-12 16:55:45 -04:00
qemu_monitor_text.c qemu: s/VIR_ERR_NO_SUPPORT/VIR_ERR_OPERATION_UNSUPPORTED 2013-03-21 09:26:15 +01:00
qemu_monitor_text.h qemu: Parse more fields from query-migrate QMP command 2013-02-22 17:35:59 +01:00
qemu_monitor.c Add QMP probing for TPM 2013-04-12 16:55:45 -04:00
qemu_monitor.h Add QMP probing for TPM 2013-04-12 16:55:45 -04:00
qemu_process.c qemu: Do sensible auto allocation of SPICE port numbers 2013-04-24 14:37:20 +02:00
qemu_process.h Fix typo in internal VIR_QEMU_PROCESS_START_AUTODESROY constant 2013-02-27 22:51:24 +00:00
qemu.conf qemu_conf: add new configuration key bridge_helper 2013-04-18 14:58:33 -06:00
test_libvirtd_qemu.aug.in qemu_conf: add new configuration key bridge_helper 2013-04-18 14:58:33 -06:00
THREADS.txt Remove qemuDriverLock from almost everywhere 2013-02-13 11:10:30 +00:00