From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF6ay-0007p2-RU for qemu-devel@nongnu.org; Wed, 15 Nov 2017 17:55:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF6ax-0004s7-U0 for qemu-devel@nongnu.org; Wed, 15 Nov 2017 17:55:48 -0500 From: Max Reitz References: <0e6cc220-814a-17fd-4fd7-7b0665d34e81@redhat.com> <30b54865-2255-d13d-a054-afcf5bbd06b2@redhat.com> <20171115202440.GJ19514@redhat.com> <7b11bb2b-b93d-e8ff-f396-703c93549d0d@redhat.com> <20171115202938.GN2787@redhat.com> <5b6f8758-5e3e-e759-1592-2768eb85b322@redhat.com> Message-ID: <04518567-9905-c22c-78f8-ea9dcde7e7ac@redhat.com> Date: Wed, 15 Nov 2017 23:55:36 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6FXtROaoFLeWMQ8EceeooHgRlKgEaX971" Subject: Re: [Qemu-devel] [Libguestfs] [qemu-img] support for XVA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gandalf Corvotempesta Cc: "Richard W.M. Jones" , Qemu-block , qemu-devel@nongnu.org, libguestfs This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6FXtROaoFLeWMQ8EceeooHgRlKgEaX971 From: Max Reitz To: Gandalf Corvotempesta Cc: "Richard W.M. Jones" , Qemu-block , qemu-devel@nongnu.org, libguestfs Message-ID: <04518567-9905-c22c-78f8-ea9dcde7e7ac@redhat.com> Subject: Re: [Libguestfs] [Qemu-devel] [qemu-img] support for XVA References: <0e6cc220-814a-17fd-4fd7-7b0665d34e81@redhat.com> <30b54865-2255-d13d-a054-afcf5bbd06b2@redhat.com> <20171115202440.GJ19514@redhat.com> <7b11bb2b-b93d-e8ff-f396-703c93549d0d@redhat.com> <20171115202938.GN2787@redhat.com> <5b6f8758-5e3e-e759-1592-2768eb85b322@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2017-11-15 23:28, Max Reitz wrote: > On 2017-11-15 22:50, Gandalf Corvotempesta wrote: >> https://stacklet.com/downloads/XenServer-XVA-Template-Debian-7.8-Light= weight-x86 >=20 > Hmmm, that gives me a timeout when downloading. And another image I go= t > gives me an "argument list too long" -- which I had feared already... > It has a size of 3 MB and Linux "only" allows 2... OK, being a bit clever helped a lot. https://xanclic.moe/convert-xva.rb -- does this work? (It seems to works on the two example images I found...) An example is in the code, you use it like this: $ ./convert-xva.rb ~/Downloads/stats-appliance-2.36.020502.xva Ref:73 $ ./convert-xva.rb ~/Downloads/stats-appliance-2.36.020502.xva Ref:73 \ -O qcow2 -p out.qcow2 (100.00/100%) $ ./qemu-img info out.qcow2 image: out.qcow2 file format: qcow2 virtual size: 80G (85916123136 bytes) disk size: 4.0G cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false Max --6FXtROaoFLeWMQ8EceeooHgRlKgEaX971 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEkb62CjDbPohX0Rgp9AfbAGHVz0AFAloMxegSHG1yZWl0ekBy ZWRoYXQuY29tAAoJEPQH2wBh1c9A9jgIALjxFCzRGruGed2Eeaw2Gxo3FjHNip1p 4Njair96zmnWOqWMznEHL28fRdSVXLvATm1jzVMXHo2KcEJ92IS3HzFSYP1cyqMy cAeIfymwGPhwxJfpNHn7AH9hHRCWuPd+6G36KRoxt0ROiYjUSiOjoFUX5NRNC6to 559bw+E1g8rINA1MOMER/iq/jylXmtSPuFWN6sYYY8sQ/tCvv8yahqmyGCc7qYKA oLwV8kUhKDJvL3uG+5miAkgSDbpG4+KXhmcuvsi3GGpgVzAFEm+J4QXMScHsJRqs JpHIpIFdPQNo9G4gaalTSB9mfbuQ9Rb6aabShb01+VAG3ZIxwzax5XA= =7ced -----END PGP SIGNATURE----- --6FXtROaoFLeWMQ8EceeooHgRlKgEaX971--