qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [with qemu-git] blockcommit to a ( 'raw' format) base image fails w/ unable to open the disk image file
@ 2012-10-09  8:54 Kashyap Chamarthy
  2012-10-09 20:01 ` Jeff Cody
  0 siblings, 1 reply; 4+ messages in thread
From: Kashyap Chamarthy @ 2012-10-09  8:54 UTC (permalink / raw)
  To: qemu-devel

Hi (Jeff?)

I was testing blockcommit operations qemu-git, as of Oct-6th (which
has your blockcommit code pulled in). And also w/ libvirt-git  which
has Eric's libvirt blockcommit patches applied.

with the goal of :

actual state: [base] <-- [snap-1] <-- [snap-2] <-- [snap3] <-- [active-layer]

desired state: [base] <-- [active-layer]

When I actually do the operation, this is what I see
-----------------------------------------------
$ virsh blockcommit --domain raw-base vda --wait --base
/export/vmimgs2/raw-base.img --top
/var/lib/libvirt/images/snap3-b-raw-base.qcow2 --verbose
error: internal error unable to execute QEMU command 'block-commit':
Could not open
'/export/vmimgs2/raw-base.img'
-----------------------------------------------
On libvirt list, Eric indicated it could be a problem in qemu's
blockcommit code .


Although blockcommit to a qcow2 base file works just fine.
-----------------------------------------------
[root moon libvirt]# virsh blockcommit --domain f17-base vda --wait --base
/export/vmimgs2/f17-base.qcow2 --top
/export/vmimgs2/snap3-f17-base.qcow2 --verbose
Block Commit: [100 %]
Commit complete
[root moon libvirt]#
-----------------------------------------------

More info on tests I ran, posted to libvirt list --
https://www.redhat.com/archives/libvir-list/2012-October/msg00226.html

Let me know if I can help you debug this further.

/kashyap

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-10 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-09  8:54 [Qemu-devel] [with qemu-git] blockcommit to a ( 'raw' format) base image fails w/ unable to open the disk image file Kashyap Chamarthy
2012-10-09 20:01 ` Jeff Cody
2012-10-10  8:39   ` Kashyap Chamarthy
2012-10-10 13:22     ` Kashyap Chamarthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).