diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-09 19:52:49 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-31 11:14:18 -0400 |
commit | e613718764740c409a5f22705f07c824796ecb53 (patch) | |
tree | a28b17bd0173b3c3240a9cf3288ca2188a1e0740 | |
parent | a277760709759237e6ea63702b06b1910c3aef21 (diff) | |
download | kvm-unit-tests-e613718764740c409a5f22705f07c824796ecb53.tar.gz |
x86: Run unit tests with --no-reboot so shutdowns show up as failures
Run tests with --no-reboot so that triple fault shutdowns get reported
as failures. By default, Qemu automatically reboots on shutdown, i.e.
automatically restarts the test, eventually leading to a timeout.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200310025249.30961-1-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-x | x86/run | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ else pc_testdev="-device testdev,chardev=testlog -chardev file,id=testlog,path=msr.out" fi -command="${qemu} -nodefaults $pc_testdev -vnc none -serial stdio $pci_testdev" +command="${qemu} --no-reboot -nodefaults $pc_testdev -vnc none -serial stdio $pci_testdev" command+=" -machine accel=$ACCEL -kernel" command="$(timeout_cmd) $command" |