Re: [Qemu-devel] [qemu-img] support for XVA

2017-11-15 Thread Max Reitz
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 ran

Re: [Qemu-devel] [qemu-img] support for XVA

2017-11-15 Thread Gandalf Corvotempesta
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 c

Re: [Qemu-devel] [qemu-img] support for XVA

2017-11-15 Thread Max Reitz
On 2017-11-15 18:44, Gandalf Corvotempesta wrote: > XVA is a tar archive. > I don't think would be possible to directly use the image stored inside > without extracting and merging each chunks > > Any random reads would be impossible to do, only a huge sequential dump to > build the raw image Wel

Re: [Qemu-devel] [qemu-img] support for XVA

2017-11-15 Thread Richard W.M. Jones
On Wed, Nov 15, 2017 at 04:52:56PM +0100, Gandalf Corvotempesta wrote: > I'm thinking if support for XVA files could be added to qemu-img > The file-format is well known (it's just a tar archive) and there are scripts > that are able to convert an XVA file to a RAW image. (ie: > https://gist.github

Re: [Qemu-devel] [qemu-img] support for XVA

2017-11-15 Thread Gandalf Corvotempesta
XVA is a tar archive. I don't think would be possible to directly use the image stored inside without extracting and merging each chunks Any random reads would be impossible to do, only a huge sequential dump to build the raw image Il 15 nov 2017 6:33 PM, "Eric Blake" ha scritto: [adding libgue

Re: [Qemu-devel] [qemu-img] support for XVA

2017-11-15 Thread Eric Blake
[adding libguestfs] On 11/15/2017 09:52 AM, Gandalf Corvotempesta wrote: > I'm thinking if support for XVA files could be added to qemu-img > The file-format is well known (it's just a tar archive) and there are scripts > that are able to convert an XVA file to a RAW image. (ie: > https://gist.git

[Qemu-devel] [qemu-img] support for XVA

2017-11-15 Thread Gandalf Corvotempesta
I'm thinking if support for XVA files could be added to qemu-img The file-format is well known (it's just a tar archive) and there are scripts that are able to convert an XVA file to a RAW image. (ie: https://gist.github.com/miebach/0433947bcf053de23159) Running these script on their own is very t