summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@gnome.org>2022-02-09 10:54:17 +0100
committerMarge Bot <marge-bot@gnome.org>2022-03-28 16:17:21 +0000
commit7435bfd0e5e0fec7ffe7becb69297e52bd46a91d (patch)
tree777bf7383891cda76ed3861daf0cc182a20001e3
parent4ce233b89ef9986f8c164ae31b88e2b2e0e5e3ba (diff)
downloadmutter-7435bfd0e5e0fec7ffe7becb69297e52bd46a91d.tar.gz
tests/virtme-run: Disable pdcm
There are issues when running a nested KVM with Fedora 35 when pdcm is enabled. Work around this for now by disabling it. Related: https://bugzilla.redhat.com/show_bug.cgi?id=2022075 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2152>
-rwxr-xr-xsrc/tests/kvm/virtme-run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/kvm/virtme-run.sh b/src/tests/kvm/virtme-run.sh
index 3b9fda63f..f7631da2e 100755
--- a/src/tests/kvm/virtme-run.sh
+++ b/src/tests/kvm/virtme-run.sh
@@ -31,7 +31,8 @@ virtme-run \
--rw \
--pwd \
--kimg "$IMAGE" \
- --script-sh "sh -c \"env $VIRTME_ENV $DIRNAME/run-kvm-test.sh \\\"$WRAPPER\\\" \\\"$WRAPPER_ARGS\\\" \\\"$TEST_EXECUTABLE\\\" \\\"$TEST_RESULT_FILE\\\"\""
+ --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
TEST_RESULT="$(cat "$TEST_RESULT_FILE")"
rm "$TEST_RESULT_FILE"