From: "Jan Beulich" Subject: Ping: [PATCH 1/2] VMX: also use proper instruction mnemonic for VMREAD Date: Mon, 23 Sep 2013 08:58:05 +0100 Message-ID: <524010AD02000078000F55A9@nat28.tlf.novell.com> References: <523701D802000078000F394E@nat28.tlf.novell.com> <5237024902000078000F3962@nat28.tlf.novell.com> <5237353F02000078000F3B46@nat28.tlf.novell.com> <5239BE3402000078000F4586@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VO125-0004uN-0q for xen-devel@lists.xenproject.org; Mon, 23 Sep 2013 07:58:13 +0000 In-Reply-To: <5239BE3402000078000F4586@nat28.tlf.novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Eddie Dong , Jun Nakajima Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 18.09.13 at 14:52, "Jan Beulich" wrote: >>>> On 16.09.13 at 16:43, "Jan Beulich" wrote: >>>>> On 16.09.13 at 16:38, "Nakajima, Jun" wrote: >>>> @@ -667,74 +669,78 @@ static void vmx_ctxt_switch_to(struct vc >>>> void vmx_get_segment_register(struct vcpu *v, enum x86_segment seg, >>>> struct segment_register *reg) >>>> { >>>> - uint32_t attr = 0; >>>> + unsigned long attr = 0, sel = 0, limit; >>> >>> This is a minor thing, but why do you initialize 'attr' and 'sel', but >>> not 'limit'? >> >> Because limit gets initialized in all the case statements, but attr >> and sel don't (for the GDTR and IDTR cases). > > Is there anything else with this answered? If not, mind giving > your ack? Ping!? Jan