Bug 1279273 - About compression option for qcow2
Summary: About compression option for qcow2
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-09 01:00 UTC by kwsk
Modified: 2015-11-11 02:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-10 13:41:15 UTC
Embargoed:


Attachments (Terms of Use)

Description kwsk 2015-11-09 01:00:03 UTC
Description of problem:

It is not a bug but a request

It would be possible to compress in creating qcow2 image
(qemu-img convert -c option)

But, there was not option like that in virt-v2v
Could you add compression option

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Pino Toscano 2015-11-09 17:00:13 UTC
You are using -o local for virt-v2v, I guess?

Comment 2 kwsk 2015-11-10 01:13:37 UTC
Yes I'm using -o local -of qcow2

Comment 3 kwsk 2015-11-10 01:46:34 UTC
And editing v2v.ml directly now

Comment 4 Richard W.M. Jones 2015-11-10 08:41:59 UTC
It seems reasonable to have a --qcow2-compression option
or something like that.  It would just add the -c option
to the qemu-img convert command.

It seems as if it would work with all output modes too,
although it is possible that -o glance and -o rhev do a
reconversion step (not in v2v).

Comment 5 Richard W.M. Jones 2015-11-10 09:00:59 UTC
Patch posted:
https://www.redhat.com/archives/libguestfs/2015-November/msg00103.html

Comment 6 Richard W.M. Jones 2015-11-10 13:41:15 UTC
Upstream in commit 6d46eb33bffbd48c75539cca59c554d184cb5c05
libguestfs >= 1.31.26

Comment 7 kwsk 2015-11-11 02:49:05 UTC
Thank you for commit


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