Bug 961854 - [RFE] libvirt: Add/improve support for VHD/VHDX format
[RFE] libvirt: Add/improve support for VHD/VHDX format
Status: ASSIGNED
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt (Show other bugs)
7.0
All All
unspecified Severity low
: beta
: 7.0
Assigned To: Martin Kletzander
yisun
: FutureFeature
Depends On: 879234 1006159 1007176
Blocks: 977441
  Show dependency treegraph
 
Reported: 2013-05-10 11:02 EDT by Richard W.M. Jones
Modified: 2018-05-18 09:36 EDT (History)
20 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 879234
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 2 Richard W.M. Jones 2013-05-10 11:05:47 EDT
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 Berrange 2013-05-10 11:54:54 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.