[PATCH 2/2] x86/unittests.cfg: the pmu testcase requires that nmi_watchdog is disabled

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

 



If nmi_watchdog is enabled, it will take up a PMU counter causing the
all_counters testcase to fail. This additional check will error out if
nmi_watchdog is enabled and provide feedback for the user to configure the
host machine correctly.

Signed-off-by: Chris J Arges <chris.j.arges@xxxxxxxxxxxxx>
---
 x86/unittests.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 0123944..badb08a 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -92,6 +92,7 @@ file = msr.flat
 [pmu]
 file = pmu.flat
 extra_params = -cpu host
+check = /proc/sys/kernel/nmi_watchdog=0
 
 [port80]
 file = port80.flat
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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