Message ID | 1409077754-4163-3-git-send-email-chris.j.arges@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Il 26/08/2014 20:29, Chris J Arges ha scritto: > 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@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 > Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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
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@canonical.com> --- x86/unittests.cfg | 1 + 1 file changed, 1 insertion(+)