From: Daan De Meyer Date: Tue, 20 Aug 2024 12:39:45 +0000 (+0200) Subject: tests: Don't override QemuKvm= value if TEST_NO_KVM=0 X-Git-Tag: v257-rc1~672 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8e7cfeddc7be498c688c564f31676b856181120;p=thirdparty%2Fsystemd.git tests: Don't override QemuKvm= value if TEST_NO_KVM=0 Let's disable KVM if TEST_NO_KVM=1 is set but let's not specify anything if it's not set so the QemuKvm= setting from mkosi.conf is used. --- diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py index 09310437d7c..e0a4b6e7805 100755 --- a/test/integration-test-wrapper.py +++ b/test/integration-test-wrapper.py @@ -149,7 +149,7 @@ def main(): '--runtime-scratch=no', *args.mkosi_args, '--qemu-firmware', args.firmware, - '--qemu-kvm', "auto" if not bool(int(os.getenv("TEST_NO_KVM", "0"))) else "no", + *(['--qemu-kvm', 'no'] if int(os.getenv("TEST_NO_KVM", "0")) else []), '--kernel-command-line-extra', ' '.join([ 'systemd.hostname=H',