1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

test: support TEST_NO_KVM

The shell integration suite allows to manually deselect KVM, so
suppor the same env var for the same purpose in python.
This commit is contained in:
Luca Boccassi 2024-06-16 19:15:24 +01:00
parent 626518ecd5
commit 7d2701e7d1

View File

@ -124,6 +124,7 @@ def main():
*args.mkosi_args,
'--append',
'--qemu-firmware', args.firmware,
'--qemu-kvm', "auto" if not bool(int(os.getenv("TEST_NO_KVM", "0"))) else "no",
'--kernel-command-line-extra',
' '.join([
'systemd.hostname=H',