[libvirt] [PATCH] qemu: Use proper agent entering function when freezing filesystems

Peter Krempa pkrempa at redhat.com
Tue Oct 2 10:40:57 UTC 2012


On 10/01/12 23:41, Eric Blake wrote:
> On 10/01/2012 10:04 AM, Peter Krempa wrote:
>> 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 | 5 +++--
>>   1 file changed, 3 insertions(+), 2 deletions(-)
>
> ACK.

Pushed. Thanks!

Peter




More information about the libvir-list mailing list