From patchwork Sun Jul 5 14:39:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 34146 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n65Edk3j012317 for ; Sun, 5 Jul 2009 14:39:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753642AbZGEOjl (ORCPT ); Sun, 5 Jul 2009 10:39:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753050AbZGEOjh (ORCPT ); Sun, 5 Jul 2009 10:39:37 -0400 Received: from mx2.redhat.com ([66.187.237.31]:47761 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752786AbZGEOjf (ORCPT ); Sun, 5 Jul 2009 10:39:35 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n65EddDM015180 for ; Sun, 5 Jul 2009 10:39:39 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n65EdcCq029072; Sun, 5 Jul 2009 10:39:39 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n65EdbLC028921; Sun, 5 Jul 2009 10:39:38 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 9D70C18D47C; Sun, 5 Jul 2009 17:39:37 +0300 (IDT) From: Gleb Natapov To: avi@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH 3/3 v4] Add X2APIC support. Date: Sun, 5 Jul 2009 17:39:37 +0300 Message-Id: <1246804777-9371-4-git-send-email-gleb@redhat.com> In-Reply-To: <1246804777-9371-1-git-send-email-gleb@redhat.com> References: <1246804777-9371-1-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Add "x2apic" string to extended features name array to be recognizable by -cpu cputype,+x2apic command line option. If kvm kernel module does not support x2apic the option will be trimmed from cpuid. Signed-off-by: Gleb Natapov --- target-i386/helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index d76c224..87c04e5 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -45,7 +45,7 @@ static const char *feature_name[] = { static const char *ext_feature_name[] = { "pni" /* Intel,AMD sse3 */, NULL, NULL, "monitor", "ds_cpl", "vmx", NULL /* Linux smx */, "est", "tm2", "ssse3", "cid", NULL, NULL, "cx16", "xtpr", NULL, - NULL, NULL, "dca", NULL, NULL, NULL, NULL, "popcnt", + NULL, NULL, "dca", NULL, NULL, "x2apic", NULL, "popcnt", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "hypervisor", }; static const char *ext2_feature_name[] = {