qemu: bind/unbind stub driver according to config <driver name='x'/>
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.

shugaoye/libvirt,agx/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,zippy2/libvirt,jfehlig/libvirt,datto/libvirt,agx/libvirt,datto/libvirt,shugaoye/libvirt,olafhering/libvirt,nertpinx/libvirt,olafhering/libvirt,taget/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,crobinso/libvirt,cbosdo/libvirt,cbosdo/libvirt,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,elmarco/libvirt,eskultety/libvirt,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,jardasgit/libvirt,andreabolognani/libvirt,olafhering/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,rlaager/libvirt,jardasgit/libvirt,datto/libvirt,datto/libvirt,elmarco/libvirt,eskultety/libvirt,andreabolognani/libvirt,eskultety/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,zippy2/libvirt,nertpinx/libvirt,datto/libvirt,elmarco/libvirt,crobinso/libvirt,agx/libvirt,crobinso/libvirt,jardasgit/libvirt,jfehlig/libvirt,cbosdo/libvirt,libvirt/libvirt,libvirt/libvirt,elmarco/libvirt,jardasgit/libvirt,libvirt/libvirt,zippy2/libvirt,nertpinx/libvirt,andreabolognani/libvirt,nertpinx/libvirt,shugaoye/libvirt,shugaoye/libvirt,cbosdo/libvirt,libvirt/libvirt,zhlcindy/libvirt-1.1.4-maintain,taget/libvirt,andreabolognani/libvirt,zippy2/libvirt,jfehlig/libvirt,zhlcindy/libvirt-1.1.4-maintain,taget/libvirt,olafhering/libvirt,agx/libvirt,fabianfreyer/libvirt,agx/libvirt,eskultety/libvirt,rlaager/libvirt,elmarco/libvirt,eskultety/libvirt,rlaager/libvirt,nertpinx/libvirt,crobinso/libvirt,VenkatDatta/libvirt,cbosdo/libvirt,jfehlig/libvirt,rlaager/libvirt,rlaager/libvirt,taget/libvirt,shugaoye/libvirt