]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: man: Document asynchronous behaviour of detach-device-alias
authorPeter Krempa <pkrempa@redhat.com>
Mon, 18 Mar 2019 07:08:57 +0000 (08:08 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 18 Mar 2019 12:11:29 +0000 (13:11 +0100)
This command is fully async. Note that users can use virsh event to be
notified of the guest actually removing the device.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
tools/virsh.pod

index cad6b6bdf3e443d2a6e49cf269cb8e89e05e8c78..db723431590c5752b3e9bbccc0ed69c84820b55f 100644 (file)
@@ -3290,7 +3290,10 @@ I<--persistent>.
 =item B<detach-device-alias> I<domain> I<alias>
 [[[I<--live>] [I<--config>] | [I<--current>]]]]
 
-Detach a device with given I<alias> from the I<domain>.
+Detach a device with given I<alias> from the I<domain>. This command returns
+successfully after the unplug request was sent to the hypervisor. The actual
+removal of the device is notified asynchronously via libvirt events
+(see virsh event).
 
 If I<--live> is specified, affect a running domain.
 If I<--config> is specified, affect the next startup of a persistent domain.