From: Tim Deegan Subject: Re: [PATCH v14 07/17] pvh: vmx-specific changes Date: Thu, 7 Nov 2013 01:28:03 +0100 Message-ID: <20131107002803.GE32964@deinos.phlegethon.org> References: <1383567306-6636-1-git-send-email-george.dunlap@eu.citrix.com> <1383567306-6636-8-git-send-email-george.dunlap@eu.citrix.com> <5277DC8602000078000FF36A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VeDSf-0008LM-L0 for xen-devel@lists.xenproject.org; Thu, 07 Nov 2013 00:28:37 +0000 Content-Disposition: inline In-Reply-To: <5277DC8602000078000FF36A@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: George Dunlap , xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org At 16:42 +0000 on 04 Nov (1383579750), Jan Beulich wrote: > >>> On 04.11.13 at 13:14, George Dunlap wrote: > > + if ( is_pvh_domain(d) ) > > + v->arch.hvm_vmx.vmx_realmode = 0; > > Rather than doing this here, wouldn't it be more clean to suppress > this getting set to 1 in the first place? I think this can probably just be dropped -- the call to hvm_update_guest_cr(v, 0) above should have DTRT with the vmx_realmode flag. Tim.