From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 2/2] x86/unittests.cfg: the pmu testcase requires that nmi_watchdog is disabled Date: Wed, 27 Aug 2014 15:29:56 +0200 Message-ID: <53FDDD54.80601@redhat.com> References: <1409077754-4163-1-git-send-email-chris.j.arges@canonical.com> <1409077754-4163-3-git-send-email-chris.j.arges@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit To: Chris J Arges , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56736 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934052AbaH0NaC (ORCPT ); Wed, 27 Aug 2014 09:30:02 -0400 In-Reply-To: <1409077754-4163-3-git-send-email-chris.j.arges@canonical.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 > --- > 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