]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Update fsfreeze status on domain state transitions
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 3 Nov 2014 11:57:44 +0000 (12:57 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 6 Nov 2014 14:20:01 +0000 (15:20 +0100)
commit6ea54769ba1816b382698c4311588d7d1a9cd095
treed0d2619bf587b1ed6409022d8de9435b03dcbd99
parentb84be34f434c1f92aed9057ad4b99d106b604e46
qemu: Update fsfreeze status on domain state transitions

https://bugzilla.redhat.com/show_bug.cgi?id=1160084

As of b6d4dad1 (1.2.5) libvirt keeps track if domain disks have been
frozen. However, this falls into that set of information which don't
survive domain restart. Therefore, we need to clear the flag upon some
state transitions. Moreover, once we clear the flag we must update the
status file too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_process.c