Re: [Qemu-devel] bug introduced by "block: Move throttling fields from BDS to BB"

2016-10-17 Thread Kevin Wolf
Am 17.10.2016 um 10:49 hat Alberto Garcia geschrieben: > On Fri 14 Oct 2016 04:11:46 PM CEST, Paolo Bonzini wrote: > > Here is next_throttle_token: > > > > -ThrottleGroup *tg = container_of(blk_bs(blk)->throttle_state, > > - ThrottleGroup, ts); > > +

Re: [Qemu-devel] bug introduced by "block: Move throttling fields from BDS to BB"

2016-10-17 Thread Alberto Garcia
On Fri 14 Oct 2016 04:11:46 PM CEST, Paolo Bonzini wrote: > Here is next_throttle_token: > > -ThrottleGroup *tg = container_of(blk_bs(blk)->throttle_state, > - ThrottleGroup, ts); > +BlockBackendPublic *blkp = blk_get_public(blk); > +ThrottleGroup

Re: [Qemu-devel] bug introduced by "block: Move throttling fields from BDS to BB"

2016-10-14 Thread Paolo Bonzini
On 14/10/2016 16:11, Paolo Bonzini wrote: > -ThrottleGroup *tg = container_of(blk_bs(blk)->throttle_state, > - ThrottleGroup, ts); > +BlockBackendPublic *blkp = blk_get_public(blk); > +ThrottleGroup *tg = container_of(blkp->throttle_state,

[Qemu-devel] bug introduced by "block: Move throttling fields from BDS to BB"

2016-10-14 Thread Paolo Bonzini
Here is next_throttle_token: -ThrottleGroup *tg = container_of(blk_bs(blk)->throttle_state, - ThrottleGroup, ts); +BlockBackendPublic *blkp = blk_get_public(blk); +ThrottleGroup *tg = container_of(blkp->throttle_state, ThrottleGroup, ts);