From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= Subject: Re: [Qemu-devel] [PATCH qom-cpu 6/7] target-i386/cpu.c: Add feature name array for ext4_features Date: Fri, 11 Jan 2013 00:11:33 +0100 Message-ID: <50EF4AA5.6060708@suse.de> References: <1357582848-16575-1-git-send-email-ehabkost@redhat.com> <1357582848-16575-7-git-send-email-ehabkost@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: qemu-devel@nongnu.org, libvir-list@redhat.com, Igor Mammedov , Gleb Natapov , kvm@vger.kernel.org To: Eduardo Habkost Return-path: Received: from cantor2.suse.de ([195.135.220.15]:36088 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751271Ab3AJXLj (ORCPT ); Thu, 10 Jan 2013 18:11:39 -0500 In-Reply-To: <1357582848-16575-7-git-send-email-ehabkost@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Am 07.01.2013 19:20, schrieb Eduardo Habkost: > Feature names were taken from the X86_FEATURE_* constants in the Linu= x > kernel code. >=20 > Signed-off-by: Eduardo Habkost > --- > Cc: Gleb Natapov > --- > target-i386/cpu.c | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) >=20 > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index 4b3ee63..a54c464 100644 > --- a/target-i386/cpu.c > +++ b/target-i386/cpu.c > @@ -95,6 +95,17 @@ static const char *ext3_feature_name[] =3D { > NULL, NULL, NULL, NULL, > }; > =20 > +static const char *ext4_feature_name[] =3D { > + NULL, NULL, "xstore","xstore-en", > + NULL, NULL, "xcrypt","xcrypt-en", Missing spaces, fixed. Andreas > + "ace2", "ace2-en", "phe", "phe-en", > + "pmm", "pmm-en", NULL, NULL, > + NULL, NULL, NULL, NULL, > + NULL, NULL, NULL, NULL, > + NULL, NULL, NULL, NULL, > + NULL, NULL, NULL, NULL, > +}; > + > static const char *kvm_feature_name[] =3D { > "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", > "kvm_asyncpf", "kvm_steal_time", "kvm_pv_eoi", NULL, [snip] --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrn= berg