On Thu, May 11, 2017 at 04:41:58PM +0200, Paolo Bonzini wrote: > Prepare for removing this function; always restart throttled requests > from coroutine context. This will matter when restarting throttled > requests will have to acquire a CoMutex. > > Signed-off-by: Paolo Bonzini > --- > v1->v2: heavily simplified thanks to previous patch [Stefan] > add coroutine_fn as needed [Stefan] > > block/throttle-groups.c | 42 +++++++++++++++++++++++++++++++++++++----- > 1 file changed, 37 insertions(+), 5 deletions(-) Reviewed-by: Stefan Hajnoczi