[libvirt] [PATCH 1/2] qemu: driver: Reload snapshots and managedsaves prior to reconnecting

Peter Krempa pkrempa at redhat.com
Wed Dec 3 17:59:00 UTC 2014


On 12/03/14 17:49, Eric Blake wrote:
> On 12/03/2014 08:02 AM, Peter Krempa wrote:
>> Reconnect to the VM is a possibly long-running job spawned in a separate
>> thread. We should reload the snapshot defs and managedsave state prior
>> to spawning the thread to avoid blocking of the daemon startup which
>> would serialize on the VM lock.
>>
>> Also the reloading code would violate the domain job held while
>> reconnecting as the loader functions don't create jobs.
>> ---
>>  src/qemu/qemu_driver.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> ACK

Pushed; Thanks.

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141203/90c3e7b5/attachment-0001.sig>


More information about the libvir-list mailing list