From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [Qemu-devel] [QEMU PATCH] i386: cpu: add missing CPUID[EAX=7, ECX=0] flag names Date: Fri, 26 Oct 2012 17:40:06 -0200 Message-ID: <20121026194006.GB32011@amt.cnet> References: <1349791439-15369-1-git-send-email-ehabkost@redhat.com> <50745448.2060501@CloudSwitch.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Eduardo Habkost , qemu-devel@nongnu.org, jinsong.liu@intel.com, kvm@vger.kernel.org, wei.y.yang@intel.com, donald.d.dugger@intel.com, junjie.mao@intel.com, Igor Mammedov To: Don Slutz Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27453 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966266Ab2JZTrY (ORCPT ); Fri, 26 Oct 2012 15:47:24 -0400 Content-Disposition: inline In-Reply-To: <50745448.2060501@CloudSwitch.Com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Oct 09, 2012 at 12:43:52PM -0400, Don Slutz wrote: > On 10/09/12 10:03, Eduardo Habkost wrote: > >This makes QEMU recognize the following CPU flag names: > > > > Flags | Corresponding KVM kernel commit > > -----------------+---------------------------------------- > > FSGSBASE | 176f61da82435eae09cc96f70b530d1ba0746b8b > > AVX2, BMI1, BMI2 | fb215366b3c7320ac25dca766a0152df16534932 > > HLE, RTM | 83c529151ab0d4a813e3f6a3e293fff75d468519 > > INVPCID | ad756a1603c5fac207758faaac7f01c34c9d0b7b > > ERMS | a01c8f9b4e266df1d7166d23216f2060648f862d > > > >Signed-off-by: Eduardo Habkost > >--- > > target-i386/cpu.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > >diff --git a/target-i386/cpu.c b/target-i386/cpu.c > >index f3708e6..b012372 100644 > >--- a/target-i386/cpu.c > >+++ b/target-i386/cpu.c > >@@ -105,8 +105,8 @@ static const char *svm_feature_name[] = { > > }; > > static const char *cpuid_7_0_ebx_feature_name[] = { > >- NULL, NULL, NULL, NULL, NULL, NULL, NULL, "smep", > >- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, > >+ "fsgsbase", NULL, NULL, "bmi1", "hle", "avx2", NULL, "smep", > >+ "bmi2", "erms", "invpcid", "rtm", NULL, NULL, NULL, NULL, > > NULL, NULL, NULL, NULL, "smap", NULL, NULL, NULL, > > NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, > > }; > Reviewed-by: Don Slutz Applied to uq/master, thanks.