From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dor Laor Subject: Re: [ kvm-Bugs-1850911 ] qemu-img -c not working Date: Sun, 16 Dec 2007 12:06:58 +0200 Message-ID: <4764F8C2.5070602@qumranet.com> References: Reply-To: dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1265368285==" To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --===============1265368285== Content-Type: multipart/alternative; boundary="------------050900040504020700010108" This is a multi-part message in MIME format. --------------050900040504020700010108 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit SourceForge.net wrote: > Bugs item #1850911, was opened at 2007-12-14 12:10 > Message generated for change (Tracker Item Submitted) made by Item Submitter > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1850911&group_id=180599 > > Please note that this message will contain a full copy of the comment thread, > including the initial issue submission, for this request, > not just the latest update. > Category: qemu > Group: None > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Olivier Paquet (euzeka) > Assigned to: Nobody/Anonymous (nobody) > Summary: qemu-img -c not working > > Initial Comment: > With kvm-56, running: > >> qemu-img convert -c winxp64.img -O qcow2 test.img >> > qemu-img: Alternative compatibility level not supported for this file format > > -c is for compressed target source image. Naturally, .img file is not compressed. Did you wanted to compress the destination? Anyway qemu is the right place for these type of bugs. Thanks, Dor. > Looking at the source of qemu-img.c, there is an obvious bug at line 474 (if the usage text is to be trusted): > > if (flags & BLOCK_FLAG_COMPRESS && drv != &bdrv_vmdk) > error("Alternative compatibility level not supported for this file format"); > > This should probably be BLOCK_FLAG_COMPAT6. > > ---------------------------------------------------------------------- > > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1850911&group_id=180599 > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > > --------------050900040504020700010108 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit SourceForge.net wrote:
Bugs item #1850911, was opened at 2007-12-14 12:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1850911&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: qemu
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Olivier Paquet (euzeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: qemu-img -c not working

Initial Comment:
With kvm-56, running:
  
qemu-img convert -c winxp64.img -O qcow2 test.img
    
qemu-img: Alternative compatibility level not supported for this file format

  
-c is for compressed target source image. Naturally, .img file is not compressed.
Did you wanted to compress the destination?

Anyway qemu is the right place for these type of bugs.
Thanks,
Dor.
Looking at the source of qemu-img.c, there is an obvious bug at line 474 (if the usage text is to be trusted):

if (flags & BLOCK_FLAG_COMPRESS && drv != &bdrv_vmdk)
    error("Alternative compatibility level not supported for this file format");

This should probably be BLOCK_FLAG_COMPAT6.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1850911&group_id=180599

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  

--------------050900040504020700010108-- --===============1265368285== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace --===============1265368285== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============1265368285==--