[libvirt] [PATCH] qemu: Always re-detect backing chain

Eric Blake eblake at redhat.com
Thu Sep 25 17:36:52 UTC 2014


On 09/25/2014 10:40 AM, Peter Krempa wrote:
> Since 363e9a68 we track backing chain metadata when creating snapshots
> the right way even for the inactive configuration. As we did not yet
> update other code paths that modify the backing chain (blockpull) the
> newDef backing chain gets out of sync.
> 
> After stopping of a VM the new definition gets copied to the next start
> one. The new VM then has incorrect backing chain info. This patch
> switches the backing chain detector to always purge the existing backing
> chain and forces re-detection to avoid this issue until we'll have full
> backing chain tracking support.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1144922
> ---
>  src/qemu/qemu_domain.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK.  It's a bandaid that may disappear later, but it's better to ship
something inefficient and working rather than efficient but buggy.



-- 
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/20140925/70728a5c/attachment-0001.sig>


More information about the libvir-list mailing list