]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: Mention --driver in man page for nodedev-detach
authorPeter Krempa <pkrempa@redhat.com>
Fri, 12 Jul 2013 09:32:51 +0000 (11:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 12 Jul 2013 12:02:11 +0000 (14:02 +0200)
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.

tools/virsh.pod

index 94fe8976a4201ffdc07294f3a6b66d6f64cb2dc0..51644d911cfed8995d183d86545693fdd78db8e2 100644 (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