]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Always re-detect backing chain
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Sep 2014 15:30:28 +0000 (17:30 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 26 Sep 2014 07:35:33 +0000 (09:35 +0200)
commitfe7ef7b112b3b4d6f9c9edf499a79683fb0b7edb
tree90f7e11ad026428e476e1e7d9f02e4dccaf3289d
parentf06a6257d5c2c29aff5140c38583a7fcd07d2b93
qemu: Always re-detect backing chain

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