Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-14 Thread Kevin Wolf
Am 14.07.2011 12:00, schrieb Stefan Hajnoczi: > On Thu, Jul 14, 2011 at 10:55 AM, Kevin Wolf wrote: >> Am 14.07.2011 11:39, schrieb Stefan Hajnoczi: >>> Events: >>> >>> On completion the BLOCK_STREAM_COMPLETED event is raised with the following >>> fields: >>> >>> - device: device name (json-s

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-14 Thread Stefan Hajnoczi
On Thu, Jul 14, 2011 at 10:55 AM, Kevin Wolf wrote: > Am 14.07.2011 11:39, schrieb Stefan Hajnoczi: >>  Events: >> >>  On completion the BLOCK_STREAM_COMPLETED event is raised with the following >>  fields: >> >>  - device: device name (json-string) >>  - len:    size of the device, in bytes (json

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-14 Thread Kevin Wolf
Am 14.07.2011 11:39, schrieb Stefan Hajnoczi: > Events: > > On completion the BLOCK_STREAM_COMPLETED event is raised with the following > fields: > > - device: device name (json-string) > - len:size of the device, in bytes (json-int) > - offset: last offset of completed I/O, in bytes (j

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-14 Thread Stefan Hajnoczi
Here is the latest interface, I'm not updating existing patches to implement and test it (not yet using generic image stream): http://wiki.qemu.org/Features/LiveBlockMigration/ImageStreamingAPI =Changelog= v2: * Remove iteration interface where management tool drives individual copy iterations *

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-13 Thread Stefan Hajnoczi
On Tue, Jul 12, 2011 at 5:10 PM, Kevin Wolf wrote: > Am 12.07.2011 17:45, schrieb Stefan Hajnoczi: > The command synopses are as follows: > > block_stream > > > Copy data from a backing file into a block device. > > If the optional 'all' argument is tru

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-12 Thread Adam Litke
On 07/12/2011 10:45 AM, Stefan Hajnoczi wrote: > On Tue, Jul 12, 2011 at 9:06 AM, Kevin Wolf wrote: >> Am 11.07.2011 18:32, schrieb Marcelo Tosatti: >>> On Mon, Jul 11, 2011 at 03:47:15PM +0100, Stefan Hajnoczi wrote: Kevin, Marcelo, I'd like to reach agreement on the QMP/HMP APIs for

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-12 Thread Stefan Hajnoczi
On Tue, Jul 12, 2011 at 9:06 AM, Kevin Wolf wrote: > Am 11.07.2011 18:32, schrieb Marcelo Tosatti: >> On Mon, Jul 11, 2011 at 03:47:15PM +0100, Stefan Hajnoczi wrote: >>> Kevin, Marcelo, >>> I'd like to reach agreement on the QMP/HMP APIs for live block copy >>> and image streaming.  Libvirt has a

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-12 Thread Kevin Wolf
Am 12.07.2011 17:45, schrieb Stefan Hajnoczi: Image streaming API === For leaf images with copy-on-read semantics, the stream commands allow the user to populate local blocks by manually streaming them from the backing image. Once all blocks have

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-12 Thread Kevin Wolf
Am 11.07.2011 18:32, schrieb Marcelo Tosatti: > On Mon, Jul 11, 2011 at 03:47:15PM +0100, Stefan Hajnoczi wrote: >> Kevin, Marcelo, >> I'd like to reach agreement on the QMP/HMP APIs for live block copy >> and image streaming. Libvirt has acked the image streaming APIs that >> Adam proposed and I

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-11 Thread Marcelo Tosatti
On Mon, Jul 11, 2011 at 03:47:15PM +0100, Stefan Hajnoczi wrote: > Kevin, Marcelo, > I'd like to reach agreement on the QMP/HMP APIs for live block copy > and image streaming. Libvirt has acked the image streaming APIs that > Adam proposed and I think they are a good fit for the feature. I have >

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-11 Thread Stefan Hajnoczi
Kevin, Marcelo, I'd like to reach agreement on the QMP/HMP APIs for live block copy and image streaming. Libvirt has acked the image streaming APIs that Adam proposed and I think they are a good fit for the feature. I have described that API below for your review (it's exactly what the QED Image

Re: [Qemu-devel] live block copy/stream/snapshot discussion

2011-07-11 Thread Stefan Hajnoczi
On Tue, Jul 05, 2011 at 05:17:49PM +0300, Dor Laor wrote: > Anthony advised to clone > http://wiki.qemu.org/index.php?title=Features/LiveBlockMigrationFuture > to the list in order to encourage discussion, so here it is: > >

[Qemu-devel] live block copy/stream/snapshot discussion

2011-07-05 Thread Dor Laor
Anthony advised to clone http://wiki.qemu.org/index.php?title=Features/LiveBlockMigrationFuture to the list in order to encourage discussion, so here it is: qemu is expected to support these features (some already implemen