From: "Jan Beulich" Subject: Re: [PATCH v3] Nested VMX: CR emulation fix up Date: Tue, 03 Dec 2013 11:27:23 +0000 Message-ID: <529DCE2B0200007800109569@nat28.tlf.novell.com> References: <1386057294-27074-1-git-send-email-yang.z.zhang@intel.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 1Vno8X-0001oH-5t for xen-devel@lists.xenproject.org; Tue, 03 Dec 2013 11:27:29 +0000 In-Reply-To: <1386057294-27074-1-git-send-email-yang.z.zhang@intel.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: Yang Zhang Cc: xen-devel@lists.xenproject.org, eddie.dong@intel.com List-Id: xen-devel@lists.xenproject.org >>> On 03.12.13 at 08:54, Yang Zhang wrote: > From: Yang Zhang > > This patch fixs two issues: > 1. The CR_READ_SHADOW should only cover the value that L2 wirtes to > CR when L2 is running. But currently, L0 wirtes wrong value to > it during virtual vmentry and L2's CR access emualtion. > > 2. L2 changed cr[0/4] in a way that did not change any of L1's shadowed > bits, but did change L0 shadowed bits. In this case, the effective cr[0/4] > value that L1 would like to write into the hardware is consist of > the L2-owned bits from the new value combined with the L1-owned bits > from L1's guest cr[0/4]. > > Signed-off-by: Yang Zhang > --- It's been a while since v2 was sent, so please tell us what has changed since then and why. That's make reviewing quite a bit easier. Jan