]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor: Don't resume lockspaces in resume event handler
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Dec 2016 07:42:43 +0000 (08:42 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 15 Dec 2016 08:46:41 +0000 (09:46 +0100)
commite8f167a6236cff7430076849e7938b783f417bc5
tree034fc351a02d8ffde1fabbb8cf760f0e03d18b44
parentf444faa94a0e30f7dfdd47dce18b526abb0aaa9f
qemu: monitor: Don't resume lockspaces in resume event handler

After qemu delivers the resume event it's already running and thus it's
too late to enter lockspaces since it may already have modified the
disk. The code only creates false log entries in the case when locking
is enabled. The lockspace needs to be acquired prior to starting cpus.
src/qemu/qemu_process.c