[mutter] tests/virtme-run: Expose two CPUs



commit 7a7fb863a2b970a0abe9a6989149e6e260146306
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed Feb 9 10:56:02 2022 +0100

    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>

 src/tests/kvm/virtme-run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tests/kvm/virtme-run.sh b/src/tests/kvm/virtme-run.sh
index f7631da2e2..006209387f 100755
--- a/src/tests/kvm/virtme-run.sh
+++ b/src/tests/kvm/virtme-run.sh
@@ -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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]