Re: [Qemu-devel] vmdk stream-optimised format

2013-08-20 Thread Stefan Hajnoczi
On Tue, Aug 20, 2013 at 07:51:40AM +0100, Alex Bligh wrote: > What I'm not sure of is whether the streaming format has to be written > sequentially from as opposed to random writes. I believe the way > qemu-img convert works, one can't guarantee the writes are > sequential. It should be possible t

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-20 Thread Alex Bligh
On 20 Aug 2013, at 14:37, Paolo Bonzini wrote: > Yes, because vmdk does not implement bdrv_write_compressed. Sorry for > leaving out the small "detail". :( Would that be easy for me to fix? -- Alex Bligh

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-20 Thread Paolo Bonzini
Il 20/08/2013 15:37, Alex Bligh ha scritto: > > On 20 Aug 2013, at 11:53, Paolo Bonzini wrote: > >> It doesn't look too different from what "qemu-img convert -c" does, >> except that you need to use the right "-o" incantation to specify the >> format type. > > Extensive incanting did not produce

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-20 Thread Alex Bligh
On 20 Aug 2013, at 11:53, Paolo Bonzini wrote: > It doesn't look too different from what "qemu-img convert -c" does, > except that you need to use the right "-o" incantation to specify the > format type. Extensive incanting did not produce a result that works. Possibly inadequate haruspication o

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-20 Thread Paolo Bonzini
Il 20/08/2013 09:08, Fam Zheng ha scritto: > On Tue, 08/20 07:51, Alex Bligh wrote: >> >> On 20 Aug 2013, at 02:42, Fam Zheng wrote: >> >>> OK, thanks for explaination. That sounds a valid use case for >>> streamOptimized. However I am afraid QEMU and its users benefit not much >>> from this featur

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-20 Thread Fam Zheng
On Tue, 08/20 07:51, Alex Bligh wrote: > > On 20 Aug 2013, at 02:42, Fam Zheng wrote: > > > OK, thanks for explaination. That sounds a valid use case for > > streamOptimized. However I am afraid QEMU and its users benefit not much > > from this feature anyway, because it's moving a VM away to VMw

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-19 Thread Alex Bligh
On 20 Aug 2013, at 02:42, Fam Zheng wrote: > OK, thanks for explaination. That sounds a valid use case for > streamOptimized. However I am afraid QEMU and its users benefit not much > from this feature anyway, because it's moving a VM away to VMware, :) > that might be the reason it's not there y

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-19 Thread Fam Zheng
On Mon, 08/19 12:50, Alex Bligh wrote: > > On 19 Aug 2013, at 12:23, Fam Zheng wrote: > > > Yes, that would be something possible to do. Is it the only format to > > upload a VM to vCenter now, shouldn't normal VMDK be supported as well? > > Ian puts it better than I can: > > > This format is o

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-19 Thread Alex Bligh
On 19 Aug 2013, at 12:23, Fam Zheng wrote: > Yes, that would be something possible to do. Is it the only format to > upload a VM to vCenter now, shouldn't normal VMDK be supported as well? Ian puts it better than I can: > This format is only useful if you are attempting to import virtual machin

Re: [Qemu-devel] vmdk stream-optimised format

2013-08-19 Thread Fam Zheng
On Mon, 08/19 12:09, Alex Bligh wrote: > I note some recent work on vmdk file support. Has anyone looked at > supporting vmdk streaming format as an /output/ file format (I > think we currently support it as an input format). This is what > you need to use to upload a VM to vCenter. Currently the r

[Qemu-devel] vmdk stream-optimised format

2013-08-19 Thread Alex Bligh
I note some recent work on vmdk file support. Has anyone looked at supporting vmdk streaming format as an /output/ file format (I think we currently support it as an input format). This is what you need to use to upload a VM to vCenter. Currently the route is convert to raw then use: https://git