Blame SOURCES/libvirt-virsh-man-Document-asynchronous-behaviour-of-detach-device-alias.patch

0a7476
From 3b632d86e7a45ba4ae07fd655340505a144bf942 Mon Sep 17 00:00:00 2001
0a7476
Message-Id: <3b632d86e7a45ba4ae07fd655340505a144bf942@dist-git>
0a7476
From: Peter Krempa <pkrempa@redhat.com>
0a7476
Date: Wed, 3 Apr 2019 16:35:45 +0200
0a7476
Subject: [PATCH] virsh: man: Document asynchronous behaviour of
0a7476
 detach-device-alias
0a7476
0a7476
This command is fully async. Note that users can use virsh event to be
0a7476
notified of the guest actually removing the device.
0a7476
0a7476
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
0a7476
Reviewed-by: Erik Skultety <eskultet@redhat.com>
0a7476
(cherry picked from commit 61d1abd5f11cadaf2ac7548e1a42e112bc49ed7e)
0a7476
0a7476
https: //bugzilla.redhat.com/show_bug.cgi?id=1688961
0a7476
Message-Id: <50540ced50cfffa59367bf8d026222fe006cd58d.1554302031.git.pkrempa@redhat.com>
0a7476
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
0a7476
---
0a7476
 tools/virsh.pod | 5 ++++-
0a7476
 1 file changed, 4 insertions(+), 1 deletion(-)
0a7476
0a7476
diff --git a/tools/virsh.pod b/tools/virsh.pod
0a7476
index 5321f6806a..79d1efa955 100644
0a7476
--- a/tools/virsh.pod
0a7476
+++ b/tools/virsh.pod
0a7476
@@ -3214,7 +3214,10 @@ I<--persistent>.
0a7476
 =item B<detach-device-alias> I<domain> I<alias>
0a7476
 [[[I<--live>] [I<--config>] | [I<--current>]]]]
0a7476
 
0a7476
-Detach a device with given I<alias> from the I<domain>.
0a7476
+Detach a device with given I<alias> from the I<domain>. This command returns
0a7476
+successfully after the unplug request was sent to the hypervisor. The actual
0a7476
+removal of the device is notified asynchronously via libvirt events
0a7476
+(see virsh event).
0a7476
 
0a7476
 If I<--live> is specified, affect a running domain.
0a7476
 If I<--config> is specified, affect the next startup of a persistent domain.
0a7476
-- 
0a7476
2.21.0
0a7476