Re: [Qemu-devel] [PATCH 0/3] Support streaming to an intermediate layer

2015-02-22 Thread Alberto Garcia
On Fri, Feb 20, 2015 at 03:49:05PM -0700, Eric Blake wrote: Hello and thanks for your comments. > 1. implement QAPI introspection (we've been dreaming about this > since qemu 1.5 days), then the caller just queries to see if the > version of QMP has the optional 'top' parameter. This sounds like

Re: [Qemu-devel] [PATCH 0/3] Support streaming to an intermediate layer

2015-02-20 Thread Eric Blake
On 02/20/2015 12:05 PM, Alberto Garcia wrote: > On Fri, Feb 20, 2015 at 10:34:58AM -0700, Eric Blake wrote: > >>> I followed the proposed API from the wiki, which simply adds an >>> additional 'top' parameter to block-stream specifying the image >>> that data is written to: >> >> How does one lear

Re: [Qemu-devel] [PATCH 0/3] Support streaming to an intermediate layer

2015-02-20 Thread Alberto Garcia
On Fri, Feb 20, 2015 at 10:34:58AM -0700, Eric Blake wrote: > > I followed the proposed API from the wiki, which simply adds an > > additional 'top' parameter to block-stream specifying the image > > that data is written to: > > How does one learn whether qemu is new enough to support this > mode

Re: [Qemu-devel] [PATCH 0/3] Support streaming to an intermediate layer

2015-02-20 Thread Eric Blake
On 02/20/2015 06:53 AM, Alberto Garcia wrote: > Hello, > > I added support to the Block Stream API for streaming to an > intermediate layer. > > I followed the proposed API from the wiki, which simply adds an > additional 'top' parameter to block-stream specifying the image that > data is written

[Qemu-devel] [PATCH 0/3] Support streaming to an intermediate layer

2015-02-20 Thread Alberto Garcia
Hello, I added support to the Block Stream API for streaming to an intermediate layer. I followed the proposed API from the wiki, which simply adds an additional 'top' parameter to block-stream specifying the image that data is written to: http://wiki.qemu.org/Features/Snapshots#Streaming_to_an_