]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add support for SUSPEND_DISK event
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 12 Oct 2012 19:13:39 +0000 (21:13 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 15 Oct 2012 10:09:10 +0000 (12:09 +0200)
commit7ba5defb5a34bb82de2f16467c2b8d157cd14d2d
treead5514c2b9456167c4d0616610261fb8274f0795
parenta9e3b4f78e379a27d2cb369ac8fe40ed4f304894
Add support for SUSPEND_DISK event

This patch adds support for SUSPEND_DISK event; both lifecycle and
separated.  The support is added for QEMU, machines are changed to
PMSUSPENDED, but as QEMU sends SHUTDOWN afterwards, the state changes
to shut-off.  This and much more needs to be done in order for libvirt
to work with transient devices, wake-ups etc.  This patch is not
aiming for that functionality.
16 files changed:
daemon/remote.c
examples/domain-events/events-c/event-test.c
examples/domain-events/events-python/event-test.py
include/libvirt/libvirt.h.in
python/libvirt-override-virConnect.py
python/libvirt-override.c
src/conf/domain_event.c
src/conf/domain_event.h
src/libvirt_private.syms
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c
src/remote/remote_driver.c
src/remote/remote_protocol.x
src/remote_protocol-structs