From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: [PATCH kvm-unit-tests] x86: unittests.cfg: add -cpu host to pmu and tsc_adjust Date: Tue, 5 Aug 2014 12:27:09 +0200 Message-ID: <1407234429-22726-2-git-send-email-pbonzini@redhat.com> Cc: chris.j.arges@canonical.com To: kvm@vger.kernel.org Return-path: Received: from mail-we0-f178.google.com ([74.125.82.178]:64906 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbaHEK1X (ORCPT ); Tue, 5 Aug 2014 06:27:23 -0400 Received: by mail-we0-f178.google.com with SMTP id w61so781898wes.9 for ; Tue, 05 Aug 2014 03:27:21 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: vPMU is only available with "-cpu host", and so is TSC_ADJUST because the QEMU CPU models forgot about it. Adjust these two tests to use the option. Reported-by: Chris J Arges Signed-off-by: Paolo Bonzini --- x86/unittests.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index d78fe0e..6d3e23a 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -91,6 +91,7 @@ file = msr.flat [pmu] file = pmu.flat +extra_params = -cpu host [port80] file = port80.flat @@ -109,6 +110,7 @@ file = tsc.flat [tsc_adjust] file = tsc_adjust.flat +extra_params = -cpu host [xsave] file = xsave.flat -- 1.9.3