]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Update domain state when reconnecting monitor
authorJiri Denemark <jdenemar@redhat.com>
Thu, 5 May 2011 11:50:25 +0000 (13:50 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 May 2011 11:36:08 +0000 (13:36 +0200)
commit9f1319618a95bfb2a316b2662474495200407122
tree1e5fdad97ce2c27bfe41856fc688eb56af8300a6
parentb046c55d400f9908fbc452fbf9898e8f09ab36fa
qemu: Update domain state when reconnecting monitor

A qemu domain can get paused when libvirtd is stopped (e.g., because of
I/O error) so we should check its current state when reconnecting to it.
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
src/qemu/qemu_monitor_text.c
src/qemu/qemu_monitor_text.h
src/qemu/qemu_process.c