aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2015-02-10 11:31:52 +0100
committerKevin Wolf <kwolf@redhat.com>2015-03-09 11:11:59 +0100
commitcd12bb567cdcd9665a5acdecd6ac8afd9a977003 (patch)
tree0e87c404f617b7a4d5ea9332b20384716b53268a /tests
parent315a1309defd8ddf910c6c17e28cbbd7faf92f2e (diff)
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 'tests')
0 files changed, 0 insertions, 0 deletions