]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
hypervisor api: new virNodeDeviceDetachFlags
authorLaine Stump <laine@laine.org>
Wed, 24 Apr 2013 16:56:10 +0000 (12:56 -0400)
committerLaine Stump <laine@laine.org>
Fri, 26 Apr 2013 01:28:10 +0000 (21:28 -0400)
commit353941961aba7386e1aa1be081340a43da7da196
tree0582bc066361214dad582c171127c363a504b326
parentcc0a91887276a3a64fa9a62c404ea0f113679233
hypervisor api: new virNodeDeviceDetachFlags

The existing virNodeDeviceDettach() assumes that there is only a
single PCI device assignment backend driver appropriate for any
hypervisor. This is no longer true, as the qemu driver is getting
support for PCI device assignment via VFIO. The new API
virNodeDeviceDetachFlags adds a driverName arg that should be set to
the exact same string set in a domain <hostdev>'s <driver name='x'/>
element (i.e. "vfio", "kvm", or NULL for default). It also adds a
flags arg for good measure (and because it's possible we may need it
when we start dealing with VFIO's "device groups").
include/libvirt/libvirt.h.in
src/driver.h
src/libvirt.c
src/libvirt_public.syms