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.ar...@canonical.com>
---
 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to