From patchwork Wed Jul 1 16:48:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 33519 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 n61GmbDw011760 for ; Wed, 1 Jul 2009 16:48:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753114AbZGAQsE (ORCPT ); Wed, 1 Jul 2009 12:48:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753326AbZGAQsD (ORCPT ); Wed, 1 Jul 2009 12:48:03 -0400 Received: from mx2.redhat.com ([66.187.237.31]:36675 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752967AbZGAQsB (ORCPT ); Wed, 1 Jul 2009 12:48:01 -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 n61Gm5me031935 for ; Wed, 1 Jul 2009 12:48:05 -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 n61Gm4kh023826; Wed, 1 Jul 2009 12:48:04 -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 n61Gm3Ru002190; Wed, 1 Jul 2009 12:48:04 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 6C8371336CC; Wed, 1 Jul 2009 19:48:03 +0300 (IDT) From: Gleb Natapov To: avi@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH 3/3 v3] Add X2APIC support. Date: Wed, 1 Jul 2009 19:48:03 +0300 Message-Id: <1246466883-11047-4-git-send-email-gleb@redhat.com> In-Reply-To: <1246466883-11047-1-git-send-email-gleb@redhat.com> References: <1246466883-11047-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[] = {