coroutine: trim down nesting level in perf_nesting test
commit027003152f4cf21952f9282b4487daf3fdd372ba
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Feb 2013 10:59:10 +0000 (19 11:59 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 22 Feb 2013 20:21:10 +0000 (22 21:21 +0100)
treebf6c5b5846ef244ff4252aae6dc9d89f8b8fa2fe
parent402397843e20e35d6cb7c80837c7cfdb19ede591
coroutine: trim down nesting level in perf_nesting test

20000 nested coroutines require 20 GB of virtual address space.
Only nest 1000 of them so that the test (only enabled with
"-m perf" on the command line) runs on 32-bit machines too.

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