]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use proper agent entering function when freezing filesystems
authorPeter Krempa <pkrempa@redhat.com>
Mon, 1 Oct 2012 15:58:29 +0000 (17:58 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Oct 2012 09:40:32 +0000 (11:40 +0200)
commite0316b5ebd85ca7c20db9a3fe8f6062b4b5e051d
tree96656044100de5df136529869b24d53dbe54b317
parent0dddd680c267eecfb0eeaa7b3a52f563089c6301
qemu: Use proper agent entering function when freezing filesystems

When doing snapshots, the filesystem freeze function used the agent
entering function that expects the qemud_driver unlocked. This might
cause a deadlock of the qemu driver if the agent does not respond.

The only call path of this function has the qemud_driver locked, so this
patch changes the entering functions to those expecting the driver
locked.
src/qemu/qemu_driver.c