tests/virtme-run: Expose two CPUs
We're multi threaded, so make things more like reality by exposing more CPUs using the '-smp 2' qemu option. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2152>
This commit is contained in:
parent
7435bfd0e5
commit
7a7fb863a2
@ -32,7 +32,7 @@ virtme-run \
|
||||
--pwd \
|
||||
--kimg "$IMAGE" \
|
||||
--script-sh "sh -c \"env $VIRTME_ENV $DIRNAME/run-kvm-test.sh \\\"$WRAPPER\\\" \\\"$WRAPPER_ARGS\\\" \\\"$TEST_EXECUTABLE\\\" \\\"$TEST_RESULT_FILE\\\"\"" \
|
||||
--qemu-opts -cpu host,pdcm=off
|
||||
--qemu-opts -cpu host,pdcm=off -smp 2
|
||||
|
||||
TEST_RESULT="$(cat "$TEST_RESULT_FILE")"
|
||||
rm "$TEST_RESULT_FILE"
|
||||
|
Loading…
Reference in New Issue
Block a user