]> git.proxmox.com Git - mirror_qemu.git/commit
throttle-groups: do not use qemu_co_enter_next
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Jun 2017 12:38:57 +0000 (14:38 +0200)
committerFam Zheng <famz@redhat.com>
Thu, 15 Jun 2017 23:55:00 +0000 (07:55 +0800)
commit3b170dc86732539ebc5927880097d32d4f11df8c
tree8575bacfdc027850fbc60fa1a8b709868a3e6ee9
parent7258ed930c78e7b85a064c7a0aff5d415efb8fbb
throttle-groups: do not use qemu_co_enter_next

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.

Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20170605123908.18777-9-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
block/throttle-groups.c