Guozhonghua
2013-Sep-04 00:56 UTC
[libvirt-users] Is virsh blockcommit supported? Thanks a lot
Hi, I have another question, when I do the blockcommit command and get the result " Top image as the active layer is currently unsupported ", is it being developed? root@cvk-31:/vms/images# virsh blockcommit Vmtest /vms/images/Vmtest1;echo $? error: internal error unable to execute QEMU command 'block-commit': Top image as the active layer is currently unsupported 1 But as I specified the commit file which is not the current image file, it will be work, such as below: root@cvk-31:/vms/images# qemu-img info --backing-chain /vms/images/Vmtest1 image: /vms/images/Vmtest1 file format: qcow2 virtual size: 9.8G (10485760000 bytes) disk size: 18M cluster_size: 65536 backing file: /vms/images/Vmtest1_base_1 backing file format: qcow2 image: /vms/images/Vmtest1_base_1 file format: qcow2 virtual size: 9.8G (10485760000 bytes) disk size: 196K cluster_size: 65536 backing file: /vms/images/Vmtest1_base backing file format: qcow2 image: /vms/images/Vmtest1_base file format: qcow2 virtual size: 9.8G (10485760000 bytes) disk size: 3.4G cluster_size: 2097152 root@cvk-31:/vms/images# virsh blockcommit Vmtest /vms/images/Vmtest1 --base /vms/images/Vmtest1_base --top /vms/images/Vmtest1_base_1 --wait --verbose;echo $? Block Commit: [100 %] Commit complete 0 ------------------------------------------------------------------------------------------------------------------------------------- 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 邮件! This e-mail and its attachments contain confidential information from H3C, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
Eric Blake
2013-Sep-04 01:34 UTC
Re: [libvirt-users] Is virsh blockcommit supported? Thanks a lot
On 09/03/2013 06:56 PM, Guozhonghua wrote:> Hi, > > I have another question, when I do the blockcommit command and get the result " Top image as the active layer is currently unsupported ", is it being developed? > root@cvk-31:/vms/images# virsh blockcommit Vmtest /vms/images/Vmtest1;echo $? > error: internal error unable to execute QEMU command 'block-commit': Top image as the active layer is currently unsupportedYes, patches have been proposed to upstream qemu for that feature, but they missed 1.6, so you will have to wait for qemu 1.7. There may also be some integration efforts that require tweaks to libvirt to take advantage of the qemu feature (the libvirt API was designed to work as soon as qemu added support, but we haven't yet proven whether our plans work out as nicely as we hope). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Guozhonghua
2013-Sep-04 02:42 UTC
[libvirt-users] 答复: Is virsh blockcommit supported? Thanks a lot
Thanks a lot. :) That will be good to support the features in future. Guozhonghua -----邮件原件----- 发件人: Eric Blake [mailto:eblake@redhat.com] 发送时间: 2013年9月4日 9:34 收件人: guozhonghua 02084 抄送: libvirt-users@redhat.com; libvir-list@redhat.com; changlimin 00148 主题: Re: [libvirt-users] Is virsh blockcommit supported? Thanks a lot On 09/03/2013 06:56 PM, Guozhonghua wrote:> Hi, > > I have another question, when I do the blockcommit command and get the result " Top image as the active layer is currently unsupported ", is it being developed? > root@cvk-31:/vms/images# virsh blockcommit Vmtest /vms/images/Vmtest1;echo $? > error: internal error unable to execute QEMU command 'block-commit': > Top image as the active layer is currently unsupportedYes, patches have been proposed to upstream qemu for that feature, but they missed 1.6, so you will have to wait for qemu 1.7. There may also be some integration efforts that require tweaks to libvirt to take advantage of the qemu feature (the libvirt API was designed to work as soon as qemu added support, but we haven't yet proven whether our plans work out as nicely as we hope). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------------------------------------------------------------------------------------------------------------------------------------- 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 邮件! This e-mail and its attachments contain confidential information from H3C, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!