summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKevin Wolf2015-02-10 11:31:52 +0100
committerKevin Wolf2015-03-09 11:11:59 +0100
commitcd12bb567cdcd9665a5acdecd6ac8afd9a977003 (patch)
tree0e87c404f617b7a4d5ea9332b20384716b53268a /block
parentcoroutine: Fix use after free with qemu_coroutine_yield() (diff)
downloadqemu-cd12bb567cdcd9665a5acdecd6ac8afd9a977003.tar.gz
qemu-cd12bb567cdcd9665a5acdecd6ac8afd9a977003.tar.xz
qemu-cd12bb567cdcd9665a5acdecd6ac8afd9a977003.zip
coroutine: Clean up qemu_coroutine_enter()
qemu_coroutine_enter() is now the only user of coroutine_swap(). Both functions are short, so inline it. Also, using COROUTINE_YIELD is now even more confusing because this code is never called during qemu_coroutine_yield() any more. In fact, this value is never read back, so we can just introduce a new COROUTINE_ENTER which documents the purpose of the task switch better. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions