]> git.proxmox.com Git - mirror_qemu.git/commit - tests/test-coroutine.c
test-coroutine: Regression test for yield bug
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 10 Feb 2015 10:15:59 +0000 (11:15 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Mar 2015 10:11:59 +0000 (11:11 +0100)
commit7c2eed3efa86c19436bc33372bfa9d7fbb6fda2c
tree8ed99b28f1405b85d3ff652d7913702f5555f264
parentcd12bb567cdcd9665a5acdecd6ac8afd9a977003
test-coroutine: Regression test for yield bug

This adds a test for reentering a coroutine that previously yielded to a
coroutine that has meanwhile terminated.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/test-coroutine.c