From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF5ag-0006rA-Od for qemu-devel@nongnu.org; Wed, 15 Nov 2017 16:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF5ag-0006Qh-1p for qemu-devel@nongnu.org; Wed, 15 Nov 2017 16:51:26 -0500 Date: Wed, 15 Nov 2017 21:51:14 +0000 From: "Richard W.M. Jones" Message-ID: <20171115215114.GP2787@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> <5b6f8758-5e3e-e759-1592-2768eb85b322@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b6f8758-5e3e-e759-1592-2768eb85b322@redhat.com> Subject: Re: [Qemu-devel] [Libguestfs] [qemu-img] support for XVA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Gandalf Corvotempesta , Qemu-block , qemu-devel@nongnu.org, libguestfs On Wed, Nov 15, 2017 at 10:30:31PM +0100, Max Reitz wrote: > Hmmm... OK, so as Rich said, you can use the raw driver with an offset > and a size. And you can use the null-co driver to emulate holes. And > qemu-img convert supports concatenation. Nice, I didn't know qemu-img convert could concatenate :-) So that's two distinct ways to do this, neither needing any qemu modifications. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v