From b443375cde76f15280bcc7c5a0390a8f9824756a Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Wed, 14 Aug 2024 16:26:14 +0200 Subject: [PATCH] timer_accuracy: disable nova on qemu --- repos/base/run/timer_accuracy.run | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/repos/base/run/timer_accuracy.run b/repos/base/run/timer_accuracy.run index d88c20662c..fe536905c7 100644 --- a/repos/base/run/timer_accuracy.run +++ b/repos/base/run/timer_accuracy.run @@ -33,6 +33,17 @@ build_boot_image [build_artifacts] append qemu_args " -nographic" +if {[get_cmd_switch --autopilot] && [have_include "power_on/qemu"] && [have_spec nova]} { + # NOVA requires a CPU with invariant TSC support, which is by default not + # supported. KVM has support by explicitly enabling this feature, but by + # now the nightly test machines is not permitted to use KVM + + # append qemu_args " -accel kvm -cpu host,migratable=no,+invtsc" + + puts "Run script does not support autopilot mode on Qemu" + exit 0 +} + set err_cnt 0 set test_timeout 20 set rounds 9