mirror of
https://github.com/systemd/systemd
synced 2024-09-06 00:41:36 +00:00
parent
cd15f7f6d1
commit
12ee072db5
|
@ -92,7 +92,7 @@ add_at_exit_handler() {
|
|||
# check if it's not explicitly disabled (TEST_NO_KVM) and we're not already
|
||||
# running under KVM. If these conditions are met, enable KVM (and possibly
|
||||
# nested KVM), otherwise disable it.
|
||||
if get_bool "${TEST_NESTED_KVM:=}" || (! get_bool "${TEST_NO_KVM:=}" && ! systemd-detect-virt -v); then
|
||||
if get_bool "${TEST_NESTED_KVM:=}" || (! get_bool "${TEST_NO_KVM:=}" && ! systemd-detect-virt -qv); then
|
||||
QEMU_KVM=yes
|
||||
else
|
||||
QEMU_KVM=no
|
||||
|
|
Loading…
Reference in a new issue