[kvm-unit-tests PATCH] x86: Run unit tests with --no-reboot so shutdowns show up as failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---

I don't think there are any tests would run afoul of --no-reboot?

 x86/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
 
-- 
2.24.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux