Re: [Qemu-devel] [PATCH v2 4/6] block: remove legacy I/O throttling

2017-08-22 Thread Alberto Garcia
On Wed 09 Aug 2017 04:02:54 PM CEST, Manos Pitsidianakis wrote: > +void blk_io_limits_update_group(BlockBackend *blk, const char *group, Error > **errp) > { > +ThrottleGroupMember *tgm; > + > /* this BB is not part of any group */ > -if (!blk->public.throttle_group_member.throttle_st

[Qemu-devel] [PATCH v2 4/6] block: remove legacy I/O throttling

2017-08-09 Thread Manos Pitsidianakis
This commit removes all I/O throttling from block/block-backend.c. In order to support the existing interface, it is changed to use the block/throttle.c filter driver. The throttle filter node that is created by the legacy interface is stored in a 'throttle_node' field in the BlockBackendPublic of