mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Use PAUSED state for domains that are starting up
When libvirt is starting a domain, it reports the state as SHUTOFF until it's RUNNING. This is not ideal because domain startup may take a long time (usually because of some configuration issues, firewalls blocking access to network disks, etc.) and domain lists provided by libvirt look awkward. One can see weird shutoff domains with IDs in a list of active domains or even shutoff transient domains. In any case, it looks more like a bug in libvirt than a normal state a domain goes through. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
@@ -199,7 +199,8 @@ VIR_ENUM_IMPL(vshDomainPausedReason,
|
||||
N_("from snapshot"),
|
||||
N_("shutting down"),
|
||||
N_("creating snapshot"),
|
||||
N_("crashed"))
|
||||
N_("crashed"),
|
||||
N_("starting up"))
|
||||
|
||||
VIR_ENUM_DECL(vshDomainShutdownReason)
|
||||
VIR_ENUM_IMPL(vshDomainShutdownReason,
|
||||
|
||||
Reference in New Issue
Block a user