From patchwork Sun Jun 28 12:15:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 32711 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 n5SCFcWh026841 for ; Sun, 28 Jun 2009 12:15:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751509AbZF1MPc (ORCPT ); Sun, 28 Jun 2009 08:15:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751102AbZF1MPb (ORCPT ); Sun, 28 Jun 2009 08:15:31 -0400 Received: from mx2.redhat.com ([66.187.237.31]:60400 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbZF1MPa (ORCPT ); Sun, 28 Jun 2009 08:15:30 -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 n5SCFX95007724 for ; Sun, 28 Jun 2009 08:15:33 -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 n5SCFWMF016718; Sun, 28 Jun 2009 08:15:33 -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 n5SCFVnW016821; Sun, 28 Jun 2009 08:15:32 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 815C718D47C; Sun, 28 Jun 2009 15:15:31 +0300 (IDT) From: Gleb Natapov To: avi@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH 3/3 v2] Add x2APIC support to qemu-kvm. Date: Sun, 28 Jun 2009 15:15:31 +0300 Message-Id: <1246191331-31085-4-git-send-email-gleb@redhat.com> In-Reply-To: <1246191331-31085-1-git-send-email-gleb@redhat.com> References: <1246191331-31085-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 cc34c87..cf6153b 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, NULL, }; static const char *ext2_feature_name[] = {