]> xenbits.xensource.com Git - libvirt.git/commit
virsh: use new virNodeDeviceDetachFlags
authorLaine Stump <laine@laine.org>
Wed, 24 Apr 2013 18:22:36 +0000 (14:22 -0400)
committerLaine Stump <laine@laine.org>
Fri, 26 Apr 2013 01:28:43 +0000 (21:28 -0400)
commitd923f6c882aa994c20c45d90e274effc62536e48
tree237a301f417f17c8c4b77f04f4e611843818f301
parentcad14a52ca8c44e5caf436a795fb69454358f096
virsh: use new virNodeDeviceDetachFlags

The virsh nodedev-detach command has a new --driver option. If it's
given virsh will attempt to use the new virNodeDeviceDetachFlags API
instead of virNodeDeviceDettach. Validation of the driver name string
is left to the hypervisor (qemu accepts "kvm" or "vfio". The only
other hypervisor that implements these functions is xen, and it only
accepts NULL).
tools/virsh-nodedev.c