render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
3e5111
From 7a40c13d93a300f6f2c493c864da7342f34e9a6c Mon Sep 17 00:00:00 2001
3e5111
Message-Id: <7a40c13d93a300f6f2c493c864da7342f34e9a6c@dist-git>
3e5111
From: Laine Stump <laine@laine.org>
3e5111
Date: Tue, 6 Jun 2017 12:07:49 -0400
3e5111
Subject: [PATCH] docs: correct improper information about domain states in
3e5111
 virsh manpage
3e5111
3e5111
Commit 24d4a0a1f removed the non-existent "dying" state from the list
3e5111
of possible domain states given in the virsh manpage, but didn't
3e5111
correct the count of states from 8 down to 7. This patch fixes that
3e5111
mismatch by completely removing any reference to the exact number of
3e5111
states (thus preventing a potential future mismatch), while wording
3e5111
the sentence in a more readable/truthful manner.
3e5111
3e5111
(cherry picked from commit c44482eb4fb703391f2ee00c23b2187e0415e799)
3e5111
3e5111
https://bugzilla.redhat.com/show_bug.cgi?id=1408778
3e5111
3e5111
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
3e5111
---
3e5111
 tools/virsh.pod | 5 +++--
3e5111
 1 file changed, 3 insertions(+), 2 deletions(-)
3e5111
3e5111
diff --git a/tools/virsh.pod b/tools/virsh.pod
3e5111
index 0315f1f265..6386c39fbc 100644
3e5111
--- a/tools/virsh.pod
3e5111
+++ b/tools/virsh.pod
3e5111
@@ -418,8 +418,9 @@ State is the run state (see below).
3e5111
 
3e5111
 B<STATES>
3e5111
 
3e5111
-The State field lists 8 states for a domain, and which ones the
3e5111
-current domain is in.
3e5111
+The State field lists what state each domain is currently in. A domain
3e5111
+can be in one of the following possible states:
3e5111
+
3e5111
 
3e5111
 =over 4
3e5111
 
3e5111
-- 
3e5111
2.13.1
3e5111