]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add RESUME event listener to qemu monitor.
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Mon, 7 Jan 2013 21:25:01 +0000 (16:25 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 9 Jan 2013 09:17:40 +0000 (10:17 +0100)
commitaedfcce33e4c2f266668a39fd655574fe34f1265
tree959ca96dea7c56b3cac149d40f4b48a9161a76fb
parent3b54b2e345cb59e63a925494a27bbaeec8513b17
Add RESUME event listener to qemu monitor.

Perform all the appropriate plumbing.

When qemu/KVM VMs are paused manually through a monitor not-owned by libvirt,
libvirt will think of them as "paused" event after they are resumed and
effectively running. With this patch the discrepancy goes away.

This is meant to address bug 892791.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c