]> Git Repo - qemu.git/commit - block/qcow2.c
qcow2: make qcow2_do_open a coroutine_fn
authorPaolo Bonzini <[email protected]>
Thu, 1 Mar 2018 16:36:16 +0000 (17:36 +0100)
committerKevin Wolf <[email protected]>
Fri, 9 Mar 2018 14:17:47 +0000 (15:17 +0100)
commit1fafcd93681c5370ecf899e096a58642fa68a292
tree7c7219ccdb7a6d4fbacfe7850db8c7be391230e4
parent1a0c2bfb039c371fe6628d58335705cc7011cecb
qcow2: make qcow2_do_open a coroutine_fn

It is called from qcow2_invalidate_cache in coroutine context (incoming
migration runs in a coroutine), so it's cleaner if metadata is always
loaded from a coroutine.

Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <1516279431[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/qcow2.c
This page took 0.020866 seconds and 4 git commands to generate.