]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use PAUSED state for domains that are starting up
authorJiri Denemark <jdenemar@redhat.com>
Mon, 16 Feb 2015 14:17:00 +0000 (15:17 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 18 Mar 2015 09:08:22 +0000 (10:08 +0100)
commit18441ab914459cd4439a578aa3c8d667697393ee
tree4dad6c7a849b02021e668b05265ad2d6022a35aa
parent2dbfa716e8c357b8067401b41e81c89d8a969365
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>
include/libvirt/libvirt-domain.h
src/conf/domain_conf.c
src/qemu/qemu_process.c
tools/virsh-domain-monitor.c