]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Avoid holding the driver lock in trivial snapshot API's
authorPeter Krempa <pkrempa@redhat.com>
Mon, 24 Sep 2012 20:31:35 +0000 (22:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 25 Sep 2012 15:05:41 +0000 (17:05 +0200)
commit35fe4e7e2ed77b67b3b0d7470787f51e05ec7d9f
treee1cd2954968f4e7e96df3d313ffc6e00eaa45eeb
parentde7f0774c34547776723378bf844ec5d0866bba3
qemu: Avoid holding the driver lock in trivial snapshot API's

In most of the snapshot API's there's no need to hold the driver lock
the whole time.

This patch adds helper functions that get the domain object in functions
that don't require the driver lock and simplifies call paths from
snapshot-related API's.
src/qemu/qemu_driver.c