From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMusl-0002C7-GX for qemu-devel@nongnu.org; Thu, 19 May 2011 00:30:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMusj-00086h-Vz for qemu-devel@nongnu.org; Thu, 19 May 2011 00:30:43 -0400 Received: from adelie.canonical.com ([91.189.90.139]:44836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMusj-00082w-NN for qemu-devel@nongnu.org; Thu, 19 May 2011 00:30:41 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QMusi-0007AY-Ia for ; Thu, 19 May 2011 04:30:40 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 7D4D82E80F1 for ; Thu, 19 May 2011 04:30:40 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 19 May 2011 04:17:52 -0000 From: Andy Brook Sender: bounces@canonical.com References: <20110519041753.18011.86775.malonedeb@wampee.canonical.com> Message-Id: <20110519041753.18011.86775.malonedeb@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 784977] [NEW] qemu-img convert fails to convert, generates a 512byte file output Reply-To: Bug 784977 <784977@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: I have a Vmware image, so I have files like 'Ubuntu.vmdk', want to convert to VirtualBox .vdi format using qemu, the first stage of extracting the image with 'qemu-img convert Ubuntu.vmdk output.bin' just generates a 512byte file: {quote} # Disk DescriptorFile version=3D1 CID=3D36be9761 parentCID=3Dffffffff createType=3D"twoGbMaxExtentSparse" # Extent description RW 4192256 SPARSE "Ubuntu-s001.vmdk" RW 4192256 SPARSE "Ubuntu-s002.vmdk" RW 4192256 SPARSE "Ubuntu-s003.vmdk" RW 4192256 SPARSE "Ubuntu-s004.vmdk" RW 4192256 SPARSE "Ubuntu-s005.vmdk" RW 4192256 SPARSE "Ubuntu-s006.vmdk" RW 4192256 SPARSE "Ubuntu-s007.vmdk" RW 4192256 SPARSE "Ubuntu-s008.vmdk" RW 4192256 SPARSE "Ubuntu-s009.vmdk" RW 4192256 SPARSE "Ubuntu-s010.vmdk" RW 20480 SPARSE "Ubunt {quote} Here is the input Ubuntu.vmdk file: {quote} # Disk DescriptorFile version=3D1 CID=3D36be9761 parentCID=3Dffffffff createType=3D"twoGbMaxExtentSparse" # Extent description RW 4192256 SPARSE "Ubuntu-s001.vmdk" RW 4192256 SPARSE "Ubuntu-s002.vmdk" RW 4192256 SPARSE "Ubuntu-s003.vmdk" RW 4192256 SPARSE "Ubuntu-s004.vmdk" RW 4192256 SPARSE "Ubuntu-s005.vmdk" RW 4192256 SPARSE "Ubuntu-s006.vmdk" RW 4192256 SPARSE "Ubuntu-s007.vmdk" RW 4192256 SPARSE "Ubuntu-s008.vmdk" RW 4192256 SPARSE "Ubuntu-s009.vmdk" RW 4192256 SPARSE "Ubuntu-s010.vmdk" RW 20480 SPARSE "Ubuntu-s011.vmdk" # The Disk Data Base = #DDB ddb.toolsVersion =3D "7240" ddb.adapterType =3D "lsilogic" ddb.geometry.sectors =3D "63" ddb.geometry.heads =3D "255" ddb.geometry.cylinders =3D "2610" ddb.virtualHWVersion =3D "6" {quote} No stack trace or other output was found. Anything I can add (other than the 20G VM image to reproduce and I'll be happy to provide) ** Affects: qemu Importance: Undecided Status: New ** Tags: convert quemu-img vmdk ** Description changed: I have a Vmware image, so I have files like 'Ubuntu.vmdk', want to convert to VirtualBox .vdi format using qemu, the first stage of extracting the image with 'qemu-img convert Ubuntu.vmdk output.bin' just generates a 512byte file: = {quote} # Disk DescriptorFile version=3D1 CID=3D36be9761 parentCID=3Dffffffff createType=3D"twoGbMaxExtentSparse" = # Extent description RW 4192256 SPARSE "Ubuntu-s001.vmdk" RW 4192256 SPARSE "Ubuntu-s002.vmdk" RW 4192256 SPARSE "Ubuntu-s003.vmdk" RW 4192256 SPARSE "Ubuntu-s004.vmdk" RW 4192256 SPARSE "Ubuntu-s005.vmdk" RW 4192256 SPARSE "Ubuntu-s006.vmdk" RW 4192256 SPARSE "Ubuntu-s007.vmdk" RW 4192256 SPARSE "Ubuntu-s008.vmdk" RW 4192256 SPARSE "Ubuntu-s009.vmdk" RW 4192256 SPARSE "Ubuntu-s010.vmdk" RW 20480 SPARSE "Ubunt {quote} = + Here is the input Ubuntu.vmdk file: + {quote} + # Disk DescriptorFile + version=3D1 + CID=3D36be9761 + parentCID=3Dffffffff + createType=3D"twoGbMaxExtentSparse" + = + # Extent description + RW 4192256 SPARSE "Ubuntu-s001.vmdk" + RW 4192256 SPARSE "Ubuntu-s002.vmdk" + RW 4192256 SPARSE "Ubuntu-s003.vmdk" + RW 4192256 SPARSE "Ubuntu-s004.vmdk" + RW 4192256 SPARSE "Ubuntu-s005.vmdk" + RW 4192256 SPARSE "Ubuntu-s006.vmdk" + RW 4192256 SPARSE "Ubuntu-s007.vmdk" + RW 4192256 SPARSE "Ubuntu-s008.vmdk" + RW 4192256 SPARSE "Ubuntu-s009.vmdk" + RW 4192256 SPARSE "Ubuntu-s010.vmdk" + RW 20480 SPARSE "Ubuntu-s011.vmdk" + = + # The Disk Data Base = + #DDB + = + ddb.toolsVersion =3D "7240" + ddb.adapterType =3D "lsilogic" + ddb.geometry.sectors =3D "63" + ddb.geometry.heads =3D "255" + ddb.geometry.cylinders =3D "2610" + ddb.virtualHWVersion =3D "6" + {quote} + = No stack trace or other output was found. Anything I can add (other than the 20G VM image to reproduce and I'll be happy to provide) -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/784977 Title: qemu-img convert fails to convert, generates a 512byte file output Status in QEMU: New Bug description: I have a Vmware image, so I have files like 'Ubuntu.vmdk', want to convert to VirtualBox .vdi format using qemu, the first stage of extracting the image with 'qemu-img convert Ubuntu.vmdk output.bin' just generates a 512byte file: {quote} # Disk DescriptorFile version=3D1 CID=3D36be9761 parentCID=3Dffffffff createType=3D"twoGbMaxExtentSparse" # Extent description RW 4192256 SPARSE "Ubuntu-s001.vmdk" RW 4192256 SPARSE "Ubuntu-s002.vmdk" RW 4192256 SPARSE "Ubuntu-s003.vmdk" RW 4192256 SPARSE "Ubuntu-s004.vmdk" RW 4192256 SPARSE "Ubuntu-s005.vmdk" RW 4192256 SPARSE "Ubuntu-s006.vmdk" RW 4192256 SPARSE "Ubuntu-s007.vmdk" RW 4192256 SPARSE "Ubuntu-s008.vmdk" RW 4192256 SPARSE "Ubuntu-s009.vmdk" RW 4192256 SPARSE "Ubuntu-s010.vmdk" RW 20480 SPARSE "Ubunt {quote} Here is the input Ubuntu.vmdk file: {quote} # Disk DescriptorFile version=3D1 CID=3D36be9761 parentCID=3Dffffffff createType=3D"twoGbMaxExtentSparse" # Extent description RW 4192256 SPARSE "Ubuntu-s001.vmdk" RW 4192256 SPARSE "Ubuntu-s002.vmdk" RW 4192256 SPARSE "Ubuntu-s003.vmdk" RW 4192256 SPARSE "Ubuntu-s004.vmdk" RW 4192256 SPARSE "Ubuntu-s005.vmdk" RW 4192256 SPARSE "Ubuntu-s006.vmdk" RW 4192256 SPARSE "Ubuntu-s007.vmdk" RW 4192256 SPARSE "Ubuntu-s008.vmdk" RW 4192256 SPARSE "Ubuntu-s009.vmdk" RW 4192256 SPARSE "Ubuntu-s010.vmdk" RW 20480 SPARSE "Ubuntu-s011.vmdk" # The Disk Data Base = #DDB ddb.toolsVersion =3D "7240" ddb.adapterType =3D "lsilogic" ddb.geometry.sectors =3D "63" ddb.geometry.heads =3D "255" ddb.geometry.cylinders =3D "2610" ddb.virtualHWVersion =3D "6" {quote} No stack trace or other output was found. Anything I can add (other than the 20G VM image to reproduce and I'll be happy to provide)