Re: [libvirt] [PATCHv2] qemu: Avoid holding the driver lock in trivial snapshot API's

2012-09-25 Thread Michal Privoznik
On 24.09.2012 22:45, Peter Krempa wrote: 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.

Re: [libvirt] [PATCHv2] qemu: Avoid holding the driver lock in trivial snapshot API's

2012-09-25 Thread Peter Krempa
On 09/25/12 13:44, Michal Privoznik wrote: On 24.09.2012 22:45, Peter Krempa wrote: 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