]> git.ipfire.org Git - thirdparty/qemu.git/commit
block-commit: speed is an optional parameter
authorMax Reitz <mreitz@redhat.com>
Thu, 10 Apr 2014 17:36:25 +0000 (19:36 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Jun 2014 20:39:13 +0000 (15:39 -0500)
commit3239a20294691eaaa81f41654e57fc9543234eee
tree9a3ffcc8da9fbfe2e7a06df8b9ff39f7c790a230
parenta8b7e73901487ed4f3e2794815945437585881af
block-commit: speed is an optional parameter

As speed is an optional parameter for the QMP block-commit command, it
should be set to 0 if not given (as it is undefined if has_speed is
false), that is, the speed should not be limited.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 5450466394c95cea8b661fb197ed215a4ab5d700)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
blockdev.c