From: Gleb Natapov 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> References: <1246191331-31085-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]: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 In-Reply-To: <1246191331-31085-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 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[] = { -- 1.6.2.1