Blob Blame History Raw
From 9329b0bafa413d86c9147fed02c914a869438498 Mon Sep 17 00:00:00 2001
Message-Id: <9329b0bafa413d86c9147fed02c914a869438498.1387385061.git.jdenemar@redhat.com>
From: Peter Krempa <pkrempa@redhat.com>
Date: Wed, 18 Dec 2013 16:55:55 +0100
Subject: [PATCH] virsh: man: Mention that volumes need to be in storage pool
 for undefine

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

When undefining a VM with storage the man page doesn't explicitly
mention that the volumes need to be a part of the storage pool otherwise
it won't work.

(cherry picked from commit 878b8fa4298a4eefefded1d65a3bac5081b52444)

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 tools/virsh.pod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index 5555b0d..74ea0bc 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -1782,7 +1782,8 @@ on inactive domains. Volume deletion is only attempted after the domain is
 undefined; if not all of the requested volumes could be deleted, the
 error message indicates what still remains behind. If a volume path is not
 found in the domain definition, it's treated as if the volume was successfully
-deleted.
+deleted. Only volumes managed by libvirt in storage pools can be removed this
+way.
 (See B<domblklist> for list of target names associated to a domain).
 Example: --storage vda,/path/to/storage.img
 
-- 
1.8.5.1