From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFJue-0001AP-3z for qemu-devel@nongnu.org; Thu, 16 Nov 2017 08:09:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFJud-0001ei-7C for qemu-devel@nongnu.org; Thu, 16 Nov 2017 08:09:00 -0500 Date: Thu, 16 Nov 2017 13:08:51 +0000 From: "Richard W.M. Jones" Message-ID: <20171116130851.GU2787@redhat.com> 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> <20171116135616.63dab444@fiorina> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171116135616.63dab444@fiorina> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Libguestfs] [qemu-img] support for XVA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?VG9tw6HFoSBHb2xlbWJpb3Zza8O9?= Cc: Gandalf Corvotempesta , libguestfs , qemu-devel@nongnu.org, Qemu-block , Max Reitz I think it's even possible to modify that shell script to pipe into nbdkit and from there to =E2=80=98qemu-img convert=E2=80=99. I'm too laz= y to actually do that right now, but the basic idea is here: https://rwmj.wordpress.com/2014/10/14/streaming-nbd-server/ You'll probably have to add =E2=80=98-m 1=E2=80=99 to the qemu-img conver= t command line. Rich. --=20 Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rj= ones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org