From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF4Jf-0001BO-VQ for qemu-devel@nongnu.org; Wed, 15 Nov 2017 15:29:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF4Je-0008Ot-NJ for qemu-devel@nongnu.org; Wed, 15 Nov 2017 15:29:47 -0500 Date: Wed, 15 Nov 2017 20:29:38 +0000 From: "Richard W.M. Jones" Message-ID: <20171115202938.GN2787@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7b11bb2b-b93d-e8ff-f396-703c93549d0d@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 09:27:14PM +0100, Max Reitz wrote: > On 2017-11-15 21:24, Richard W.M. Jones wrote: > > On Wed, Nov 15, 2017 at 09:07:12PM +0100, Max Reitz wrote: > >> On 2017-11-15 21:06, Gandalf Corvotempesta wrote: > >>> 2017-11-15 20:59 GMT+01:00 Max Reitz : > >>>> Well, you can't just add support to qemu-img alone either. Every image > >>>> format supported by qemu-img is one supported by qemu as a whole and > >>>> thus needs a proper block driver that needs to support random accesses > >>>> as well. > >>> > >>> I was talking about qemu-img convert, just to convert an XVA image to > >>> something different, in a single pass, without having to extract the > >>> tar. > >> > >> I know, but that doesn't work. qemu-img convert uses the normal > >> general-purpose block drivers for that. > > > > In any case there's no need as qemu/qemu-img can already access files > > inside an uncompressed tarball using the offset/size support added to > > the raw driver exactly for this purpose: > > > > https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg03945.html > > If that works, yes. To me it doesn't look like XVA is just a single raw > image inside of a tarball, but I may very well be wrong, of course. Gandalf, is there an XVA file publically available (pref. not too big) that we can look at? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW