Red Hat Bugzilla – Bug 825649
[RFE] support qed format with backing file in virt-manager
Last modified: 2014-07-06 15:31:10 EDT
Description of problem:
RFE support qed with backing file in virt-manager
virt-manger support qcow2 image with backing file but do not support qed with backing file
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a qed with backing file in the default pool
# qemu-img create -f qed -b /var/lib/libvirt/images/qed-bf.img /var/lib/libvirt/images/qed-bf2.img 1G
Formatting '/var/lib/libvirt/images/qed-bf2.img', fmt=qed size=1073741824 backing_file='/var/lib/libvirt/images/qed-bf.img' cluster_size=0 table_size=0
2. in the virt-manager try to open the default pool
Error refreshing hardware page: internal error unknown volume format number -2
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/details.py", line 1201, in hw_selected
File "/usr/share/virt-manager/virtManager/details.py", line 2684, in refresh_disk_page
size = vol.get_pretty_capacity()
File "/usr/share/virt-manager/virtManager/storagevol.py", line 60, in get_pretty_capacity
File "/usr/share/virt-manager/virtManager/storagevol.py", line 57, in get_capacity
return long(util.xpath(self.get_xml(), "/volume/capacity"))
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 93, in get_xml
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 105, in refresh_xml
self._xml = self._XMLDesc(self._active_xml_flags)
File "/usr/share/virt-manager/virtManager/storagevol.py", line 35, in _XMLDesc
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2267, in XMLDesc
if ret is None: raise libvirtError ('virStorageVolGetXMLDesc() failed', vol=self)
libvirtError: internal error unknown volume format number -2
support qed with backing file
if qed image without backing file it works well .
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
This is a libvirt bug, long since fixed.