From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov 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> References: <1246466883-11047-1-git-send-email-gleb@redhat.com> Cc: kvm@vger.kernel.org To: avi@redhat.com Return-path: 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 In-Reply-To: <1246466883-11047-1-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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[] = { -- 1.6.2.1