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

Eric Blake eblake at redhat.com
Wed Dec 3 16:49:21 UTC 2014


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

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list