]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: fix list of domain states in virsh manpage
authorLaine Stump <laine@laine.org>
Tue, 3 Jan 2017 19:41:33 +0000 (14:41 -0500)
committerLaine Stump <laine@laine.org>
Tue, 10 Jan 2017 08:41:09 +0000 (03:41 -0500)
The virsh manpage lists "shutdown" and "dying" as two of the possible
domain states that could be listed in the output of the "virsh list"
command. However, a domain that is being shutdown will be listed as
"in shutdown", and the "dying" state doesn't even exist (and never
has, as far as I can tell from looking through git history - it was
shown in the original import of the virsh.pod file in 2006; there was
no VIR_DOMAIN_DYING state then, there wasn't one when those lines of
virsh.pod were tweaked in 2008, and there still isn't one
today. Apparently it was just something that sounded like a good idea
to someone at some time, but was never implemented...)

Resolves: https://bugzilla.redhat.com/1408778

tools/virsh.pod

index a70f32238a69d81a9157d64bea981e6abe5987d6..c29f16dca74a16af2d34fcd95b50fd68f6f7192d 100644 (file)
@@ -440,7 +440,7 @@ running B<virsh suspend>.  When in a paused state the domain will still
 consume allocated resources like memory, but will not be eligible for
 scheduling by the hypervisor.
 
-=item B<shutdown>
+=item B<in shutdown>
 
 The domain is in the process of shutting down, i.e. the guest operating system
 has been notified and should be in the process of stopping its operations
@@ -457,11 +457,6 @@ The domain has crashed, which is always a violent ending.  Usually
 this state can only occur if the domain has been configured not to
 restart on crash.
 
-=item B<dying>
-
-The domain is in process of dying, but hasn't completely shutdown or
-crashed.
-
 =item B<pmsuspended>
 
 The domain has been suspended by guest power management, e.g. entered