]> git.ipfire.org Git - thirdparty/libvirt.git/commit
blockcommit: fix regression with explicit top argument
authorEric Blake <eblake@redhat.com>
Wed, 11 Jun 2014 22:22:57 +0000 (16:22 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 12 Jun 2014 13:01:18 +0000 (07:01 -0600)
commit519181d932f6fa62303d65cafcd7e5fa2c98ca1f
treee8247d52db7c1280cc14c2e8d811ee0ea071b37e
parente43041048073d5ee95c22b9a313f52a18ecec0d8
blockcommit: fix regression with explicit top argument

Commit f586965 accidentally changed the semantics of the
virDomainBlockCommit command; where it previously looked for
an explicit top argument from the top of the chain, it now
starts from the backing file of the top.  Of course, until
we allow active commits, the only difference it makes is in
the quality of the error message, but with code for active
commit coming soon, we need to support an explicit mention
of the active layer.

* src/qemu/qemu_driver.c (qemuDomainBlockCommit): Start looking
from top of chain.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c