]> git.proxmox.com Git - qemu.git/commit - blockdev.c
block: add 'speed' optional parameter to block-stream
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 25 Apr 2012 15:51:03 +0000 (16:51 +0100)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 27 Apr 2012 14:44:50 +0000 (11:44 -0300)
commitc83c66c3b58893a4dc056e272822beb88fe9ec7f
tree890e9af2cbfef523b48c365df64820e96445185a
parent882ec7ce531091bc0f3ffc6ac71943cf383f86a6
block: add 'speed' optional parameter to block-stream

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.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
block.c
block/stream.c
block_int.h
blockdev.c
hmp-commands.hx
hmp.c
qapi-schema.json
qmp-commands.hx