virsh: Mention --driver in man page for nodedev-detach

https://bugzilla.redhat.com/show_bug.cgi?id=982987

Commit d923f6c8 introduced the --driver option but didn't document it in
the man page. The docs are borrowed from the public API documentation.
This commit is contained in:
Peter Krempa 2013-07-12 11:32:51 +02:00
parent f45dbdb213
commit acc27c4eaa

View File

@ -2113,7 +2113,7 @@ name or wwn pair in "wwnn,wwpn" format (only works for HBA). Note
that this makes libvirt quit managing a host device, and may even make
that device unusable by the rest of the physical host until a reboot.
=item B<nodedev-detach> I<nodedev>
=item B<nodedev-detach> I<nodedev> [I<--driver backend_driver>]
Detach I<nodedev> from the host, so that it can safely be used by
guests via <hostdev> passthrough. This is reversed with
@ -2121,6 +2121,12 @@ B<nodedev-reattach>, and is done automatically for managed devices.
For compatibility purposes, this command can also be spelled
B<nodedev-dettach>.
Different backend drivers expect the device to be bound to different
dummy devices. For example, QEMU's "kvm" backend driver (the default)
expects the device to be bound to pci-stub, but its "vfio" backend
driver expects the device to be bound to vfio-pci. The I<--driver>
parameter can be used to specify the desired backend driver.
=item B<nodedev-dumpxml> I<device>
Dump a <device> XML representation for the given node device, including