summaryrefslogtreecommitdiffstats
path: root/block/snapshot.c
diff options
context:
space:
mode:
authorManos Pitsidianakis2017-08-25 15:20:24 +0200
committerKevin Wolf2017-09-05 16:47:52 +0200
commitc61791fc23ecd96e6a1e038c379c4033ffd5f40c (patch)
tree54226255fb34d61ce0dcfe2cf05724f3e2594c02 /block/snapshot.c
parentblock: move ThrottleGroup membership to ThrottleGroupMember (diff)
downloadqemu-c61791fc23ecd96e6a1e038c379c4033ffd5f40c.tar.gz
qemu-c61791fc23ecd96e6a1e038c379c4033ffd5f40c.tar.xz
qemu-c61791fc23ecd96e6a1e038c379c4033ffd5f40c.zip
block: add aio_context field in ThrottleGroupMember
timer_cb() needs to know about the current Aio context of the throttle request that is woken up. In order to make ThrottleGroupMember backend agnostic, this information is stored in an aio_context field instead of accessing it from BlockBackend. Reviewed-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/snapshot.c')
0 files changed, 0 insertions, 0 deletions