[libvirt-users] virsh blockcommit hangs at 100%

Eric Blake eblake at redhat.com
Fri Apr 18 14:43:01 UTC 2014

On 04/18/2014 08:36 AM, zyro wrote:
> hi,
> i am trying to blockcommit a external qcow2 snapshot back into its raw
> backing file like:
> sudo virsh blockcommit myDomainName vda --wait --verbose
> the output just shows:
> Block Commit: [100 %]
> and stays like that (i waited about an hour or so...). No "Commit
> complete" message.

Known problem.  When libvirt first implemented blockcommit, qemu did not
support committing the active image.  Newer qemu has added that support,
but in a way that requires a tweak to libvirt to end the operation; and
libvirt has not yet been taught to make that tweak.  Patches welcome.

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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140418/abc39724/attachment.sig>

More information about the libvirt-users mailing list