From: Igor Mammedov Subject: Re: [PATCH v4 02/17] target-i386: Add missing kvm bits. Date: Fri, 21 Sep 2012 10:39:52 +0200 Message-ID: <20120921103952.34c176c7@thinkpad.mammed.net> References: <1348171412-23669-1-git-send-email-Don@CloudSwitch.com> <1348171412-23669-3-git-send-email-Don@CloudSwitch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: , , , , , , , To: Don Slutz Return-path: Received: from mx1.redhat.com ([209.132.183.28]:40282 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754860Ab2IUIkH (ORCPT ); Fri, 21 Sep 2012 04:40:07 -0400 In-Reply-To: <1348171412-23669-3-git-send-email-Don@CloudSwitch.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 20 Sep 2012 16:03:17 -0400 Don Slutz wrote: > Fix duplicate name (kvmclock => kvm_clock2) also. > > Signed-off-by: Don Slutz > --- > target-i386/cpu.c | 12 ++++++++---- > 1 files changed, 8 insertions(+), 4 deletions(-) > > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index 0313cf5..5f9866a 100644 > --- a/target-i386/cpu.c > +++ b/target-i386/cpu.c > @@ -87,10 +87,14 @@ static const char *ext3_feature_name[] = { > }; > > static const char *kvm_feature_name[] = { > - "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, "kvm_pv_eoi", NULL, > - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, > - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, > - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, > + "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvm_clock2", before patch if "kvmclock" is specified it would set 0 and 3 bits, after patch only bit 0 is set. Is it correct/expected behavior? if yes, please add rationale into patch description. > + "kvm_asyncpf", "kvm_steal_time", "kvm_pv_eoi", NULL, > + NULL, NULL, NULL, NULL, > + NULL, NULL, NULL, NULL, > + NULL, NULL, NULL, NULL, > + NULL, NULL, NULL, NULL, > + "kvm_clock_stable", NULL, NULL, NULL, > + NULL, NULL, NULL, NULL, > }; > > static const char *svm_feature_name[] = { > -- > 1.7.1 > -- Regards, Igor