Re: [Qemu-devel] [PATCH v2 4/6] block: add 'speed' optional parameter to block-stream

2012-04-25 Thread Kevin Wolf
Am 24.04.2012 15:53, schrieb Stefan Hajnoczi: > diff --git a/qapi-schema.json b/qapi-schema.json > index d56fcb6..b1e349f 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -1571,15 +1571,19 @@ > # > # @base: #optional the common backing file name > # > +# @speed: #optional the max

Re: [Qemu-devel] [PATCH v2 4/6] block: add 'speed' optional parameter to block-stream

2012-04-25 Thread Stefan Hajnoczi
On Tue, Apr 24, 2012 at 8:14 PM, Luiz Capitulino wrote: >>  # Returns: Nothing on success >>  #          If streaming is already active on this device, DeviceInUse >>  #          If @device does not exist, DeviceNotFound >>  #          If image streaming is not supported by this device, NotSupport

Re: [Qemu-devel] [PATCH v2 4/6] block: add 'speed' optional parameter to block-stream

2012-04-24 Thread Luiz Capitulino
On Tue, 24 Apr 2012 14:53:58 +0100 Stefan Hajnoczi wrote: > Allow streaming operations to be started with an initial speed limit. > This eliminates the window of time between starting streaming and > issuing block-job-set-speed. Users should use the new optional 'speed' > parameter instead so th

Re: [Qemu-devel] [PATCH v2 4/6] block: add 'speed' optional parameter to block-stream

2012-04-24 Thread Eric Blake
On 04/24/2012 07:53 AM, Stefan Hajnoczi wrote: > Allow streaming operations to be started with an initial speed limit. > This eliminates the window of time between starting streaming and > issuing block-job-set-speed. Users should use the new optional 'speed' > parameter instead so that speed limi

Re: [Qemu-devel] [PATCH v2 4/6] block: add 'speed' optional parameter to block-stream

2012-04-24 Thread Stefan Hajnoczi
On Tue, Apr 24, 2012 at 4:17 PM, Eric Blake wrote: > On 04/24/2012 07:53 AM, Stefan Hajnoczi wrote: >> Allow streaming operations to be started with an initial speed limit. >> This eliminates the window of time between starting streaming and >> issuing block-job-set-speed.  Users should use the ne

[Qemu-devel] [PATCH v2 4/6] block: add 'speed' optional parameter to block-stream

2012-04-24 Thread Stefan Hajnoczi
Allow streaming operations to be started with an initial speed limit. This eliminates the window of time between starting streaming and issuing block-job-set-speed. Users should use the new optional 'speed' parameter instead so that speed limits are in effect immediately when the job starts. Sign