diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2018-03-22 15:28:34 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-03-27 13:05:28 +0100 |
commit | 35111583aa03c1a918a3f68858ef86eb161c7c06 (patch) | |
tree | 39d92737add7e8a3cfd27cee2b34adc740107567 /net/net.c | |
parent | c40a2545700e9ad2ef67d5972484bbee4c83b2a6 (diff) |
coroutine: add test-aio coroutine queue chaining test case
Check that two coroutines can queue each other repeatedly without
hitting stack exhaustion.
Switch to qemu_init_main_loop() in main() because coroutines use
qemu_get_aio_context() - they don't know about test-aio's ctx variable.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20180322152834.12656-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions