aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-03-09 19:52:49 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-31 11:14:18 -0400
commite613718764740c409a5f22705f07c824796ecb53 (patch)
treea28b17bd0173b3c3240a9cf3288ca2188a1e0740
parenta277760709759237e6ea63702b06b1910c3aef21 (diff)
downloadkvm-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-xx86/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86/run b/x86/run
index 1ac91f1..8b2425f 100755
--- a/x86/run
+++ b/x86/run
@@ -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"