FWIW:
While trying to restore (apply) a snapshot on a Windows VM (ie: qemu-img snapshot -a snapshotname windows.qcow2 where the image file is 150gb in size,) I got the above error:
qemu-img: /build/buildd/qemu-2.0.0+dfsg/block/qcow2-refcount.c:467: update_refcount_discard: Assertion `d->bytes + length == new_end - new_start' failed.
(My VM is now broken.)
This is the only reference that I found using Google.
HTH
FWIW:
While trying to restore (apply) a snapshot on a Windows VM (ie: qemu-img snapshot -a snapshotname windows.qcow2 where the image file is 150gb in size,) I got the above error:
qemu-img: /build/ buildd/ qemu-2. 0.0+dfsg/ block/qcow2- refcount. c:467: update_ refcount_ discard: Assertion `d->bytes + length == new_end - new_start' failed.
(My VM is now broken.)
This is the only reference that I found using Google.
HTH