Re: [Qemu-devel] [PULL for-2.10 05/15] throttle: Remove throttle_fix_bucket() / throttle_unfix_bucket()

2017-09-12 Thread Peter Maydell
On 31 August 2017 at 09:22, Stefan Hajnoczi wrote: > From: Alberto Garcia > > The throttling code can change internally the value of bkt->max if it > hasn't been set by the user. The problem with this is that if we want > to retrieve the original value we

[Qemu-devel] [PULL for-2.10 05/15] throttle: Remove throttle_fix_bucket() / throttle_unfix_bucket()

2017-08-31 Thread Stefan Hajnoczi
From: Alberto Garcia The throttling code can change internally the value of bkt->max if it hasn't been set by the user. The problem with this is that if we want to retrieve the original value we have to undo this change first. This is ugly and unnecessary: this patch removes