]> git.ipfire.org Git - thirdparty/qemu.git/commit - blockjob.c
blockjobs: fix set-speed kick
authorJohn Snow <jsnow@redhat.com>
Sat, 10 Mar 2018 08:27:26 +0000 (03:27 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 19 Mar 2018 11:01:24 +0000 (12:01 +0100)
commitd4fce188448a273306b0c1c915e7bd91d6f83a6e
tree01f5a8e7105cbeb2a2fd35a089c350674bc7492e
parente1e44a9916b4318e943aecd669e096222cb3eaeb
blockjobs: fix set-speed kick

If speed is '0' it's not actually "less than" the previous speed.
Kick the job in this case too.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockjob.c