Re: [Qemu-block] [Qemu-devel] [PATCH 4/7] qed: make bdrv_qed_do_open a coroutine_fn

2018-02-01 Thread Paolo Bonzini
On 18/01/2018 15:19, Eric Blake wrote: > On 01/18/2018 06:43 AM, Paolo Bonzini wrote: >> It is called from qcow2_invalidate_cache in coroutine context (incoming > Why is a qcow2 function calling qed code? Definitely a copy-paste bug, > but I'm not sure of the right fix. This reference was of

Re: [Qemu-block] [Qemu-devel] [PATCH 4/7] qed: make bdrv_qed_do_open a coroutine_fn

2018-01-18 Thread Eric Blake
On 01/18/2018 06:43 AM, Paolo Bonzini wrote: > It is called from qcow2_invalidate_cache in coroutine context (incoming Why is a qcow2 function calling qed code? Definitely a copy-paste bug, but I'm not sure of the right fix. > migration runs in a coroutine), so it's cleaner if metadata is