summaryrefslogtreecommitdiffstats
path: root/linux-user/linux_loop.h
diff options
context:
space:
mode:
authorAlberto Garcia2016-10-17 17:46:02 +0200
committerKevin Wolf2016-10-24 17:54:03 +0200
commit6bf77e1c2dc24da1bade16e8a9a637f3b127314d (patch)
treeac77620a874cf822efda48467f8d2d558a72074f /linux-user/linux_loop.h
parentqapi: fix memory leak in bdrv_image_info_specific_dump (diff)
downloadqemu-6bf77e1c2dc24da1bade16e8a9a637f3b127314d.tar.gz
qemu-6bf77e1c2dc24da1bade16e8a9a637f3b127314d.tar.xz
qemu-6bf77e1c2dc24da1bade16e8a9a637f3b127314d.zip
throttle: Correct access to wrong BlockBackendPublic structures
In 27ccdd52598290f0f8b58be56e235aff7aebfaf3 the throttling fields were moved from BlockDriverState to BlockBackend. However in a few cases the code started using throttling fields from the active BlockBackend instead of the round-robin token, making the algorithm behave incorrectly. This can cause starvation if there's a throttling group with several drives but only one of them has I/O. Cc: qemu-stable@nongnu.org Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions