Bug 961854

Summary: [RFE] libvirt: Add/improve support for VHD/VHDX format
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Richard W.M. Jones <rjones>
Component: libvirtAssignee: Martin Kletzander <mkletzan>
Status: CLOSED WONTFIX QA Contact: Han Han <hhan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.0CC: areis, berrange, cwei, dyuan, jsuchane, juzhang, kwolf, lmen, luis.fernandez.alvarez, mkenneth, mzhan, ondrejv, rbalakri, rjones, sdenham, stefanha, virt-maint, xuzhang, yisun
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 879234 Environment:
Last Closed: 2019-02-05 08:35:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 879234, 1006159, 1007176    
Bug Blocks: 977441    

Comment 2 Richard W.M. Jones 2013-05-10 15:05:47 UTC
Test images:
http://oirase.annexia.org/tmp/f18x64.vhdx.xz
http://oirase.annexia.org/tmp/blank.vhdx.xz

The first is a F18 disk image, of virtual size 20 GB.

The second is a completely blank disk image, of virtual size 1 GB.

Note that you will need qemu from git (or possibly 1.5)
for any of this to work.

Comment 4 Daniel Berrangé 2013-05-10 15:54:54 UTC
Unfortunately supporting VDHX format is not as easy as I expected. You can't simply look at specific offsets in the file to determine the VDHX version, capacity or backing file. You have to actually do quite a bit of careful parsing of headers. This will require some re-factoring of the way libvirt probes storage metadata to support, rather than just adding a few offsets to the existing data tables.

Comment 10 Jaroslav Suchanek 2019-02-05 08:35:38 UTC
Closing accordingly to v2v bug 761199. If there is real requirement for this feature please reopen this bug with additional justification. Thanks.