Re: [Qemu-block] [PATCH 1/2] throttle: Correct access to wrong BlockBackendPublic structures

2016-10-17 Thread Paolo Bonzini
On 17/10/2016 17:46, Alberto Garcia wrote: > 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, mak

[Qemu-block] [PATCH 1/2] throttle: Correct access to wrong BlockBackendPublic structures

2016-10-17 Thread Alberto Garcia
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