Re: [Qemu-devel] [PATCH v2] throttle: fix a qemu crash problem when calling blk_delete

2017-10-25 Thread Alberto Garcia
On Tue 24 Oct 2017 05:33:51 AM CEST, sochin jiang wrote: > --- a/block/throttle-groups.c > +++ b/block/throttle-groups.c > @@ -576,7 +576,9 @@ void throttle_group_unregister_tgm(ThrottleGroupMember > *tgm) > > /* remove the current tgm from the list */ > QLIST_REMOVE(tgm, round_robin);

[Qemu-devel] [PATCH v2] throttle: fix a qemu crash problem when calling blk_delete

2017-10-23 Thread sochin jiang
commit 7ca7f0 moves the throttling related part of the BDS life cycle management to BlockBackend, adds call to throttle_timers_detach_aio_context in blk_remove_bs. commit 1606e remove a block device from its throttle group in blk_delete by calling blk_io_limits_disable, this fix an easily reproduc