From patchwork Fri May 11 07:43:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 158451 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5F4E6B6FC3 for ; Fri, 11 May 2012 17:43:54 +1000 (EST) Received: from localhost ([::1]:39855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSkVz-0001F1-Fu for incoming@patchwork.ozlabs.org; Fri, 11 May 2012 03:43:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSkVt-0001Ew-6O for qemu-devel@nongnu.org; Fri, 11 May 2012 03:43:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSkVn-0005sL-1a for qemu-devel@nongnu.org; Fri, 11 May 2012 03:43:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSkVm-0005sE-Po for qemu-devel@nongnu.org; Fri, 11 May 2012 03:43:38 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4B7hY6D001563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 May 2012 03:43:34 -0400 Received: from redhat.com (vpn1-7-90.ams2.redhat.com [10.36.7.90]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id q4B7hT6L011853; Fri, 11 May 2012 03:43:30 -0400 Date: Fri, 11 May 2012 10:43:35 +0300 From: "Michael S. Tsirkin" To: x86@kernel.org, kvm@vger.kernel.org Message-ID: <20120511074334.GA1504@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Anthony Liguori , Stefan Hajnoczi , gleb@redhat.com, Markus Armbruster , Marcelo Tosatti , linux-kernel@vger.kernel.org, qemu-devel@nongnu.org, Ingo Molnar , Avi Kivity , "H. Peter Anvin" , Linus Torvalds , Andreas =?iso-8859-1?Q?F=E4rber?= Subject: [Qemu-devel] [PATCH] qemu: whitelist kvm pv eoi feature X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Whitelist kvm pv eoi feature. The feature is enabled with -cpu kvm64. To disable: -cpu kvm64,-kvm_eoi. Signed-off-by: Michael S. Tsirkin --- Sending a copy to kernel list as this is needed to test the pv eoi feature recently submitted. target-i386/cpuid.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index 465ea15..c421b19 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -75,7 +75,7 @@ static const char *ext3_feature_name[] = { }; static const char *kvm_feature_name[] = { - "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, NULL, NULL, + "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, "kvm_eoi", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,