[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [with qemu-git] blockcommit to a ( 'raw' format) base image
From: |
Kashyap Chamarthy |
Subject: |
[Qemu-devel] [with qemu-git] blockcommit to a ( 'raw' format) base image fails w/ unable to open the disk image file |
Date: |
Tue, 9 Oct 2012 14:24:13 +0530 |
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
- [Qemu-devel] [with qemu-git] blockcommit to a ( 'raw' format) base image fails w/ unable to open the disk image file,
Kashyap Chamarthy <=