From acc27c4eaae37f128884670a7e264e344583f31d Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 12 Jul 2013 11:32:51 +0200 Subject: [PATCH] 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. --- tools/virsh.pod | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 94fe8976a4..51644d911c 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -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 I +=item B I [I<--driver backend_driver>] Detach I from the host, so that it can safely be used by guests via passthrough. This is reversed with @@ -2121,6 +2121,12 @@ B, and is done automatically for managed devices. For compatibility purposes, this command can also be spelled B. +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 I Dump a XML representation for the given node device, including -- 2.39.5