]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Update domain status to running while wakeup event is emitted
authorOsier Yang <jyang@redhat.com>
Wed, 14 Mar 2012 15:26:55 +0000 (23:26 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 23 Mar 2012 15:12:29 +0000 (23:12 +0800)
commit7c5a0c94e466f779ee885b89f1ce6824b89075b2
tree27604b4c2e097dee98b6afafb362f8995812e376
parent321fa64bf52a6fe4407e33dde14fc333dbc1d76d
qemu: Update domain status to running while wakeup event is emitted

This introduces a new running reason VIR_DOMAIN_RUNNING_WAKEUP,
and new suspend event type VIR_DOMAIN_EVENT_STARTED_WAKEUP.

While a wakeup event is emitted, the domain which entered into
VIR_DOMAIN_PMSUSPENDED will be transferred to "running"
with reason VIR_DOMAIN_RUNNING_WAKEUP, and a new domain lifecycle
event emitted with type VIR_DOMAIN_EVENT_STARTED_WAKEUP.
examples/domain-events/events-c/event-test.c
include/libvirt/libvirt.h.in
src/qemu/qemu_process.c
tools/virsh.c