From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v3] x86/HVM: correct page dirty marking in hvm_map_guest_frame_rw() Date: Tue, 20 Oct 2015 11:43:10 +0100 Message-ID: <56261ABE.3010404@citrix.com> References: <5625202002000078000AC6C4@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZoUNu-0001DL-Gh for xen-devel@lists.xenproject.org; Tue, 20 Oct 2015 10:43:14 +0000 In-Reply-To: <5625202002000078000AC6C4@prv-mh.provo.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 , xen-devel Cc: Keir Fraser , Stefano Stabellini , George Dunlap , Tim Deegan , Ian Jackson , Ian Campbell , Wei Liu List-Id: xen-devel@lists.xenproject.org On 19/10/15 15:53, Jan Beulich wrote: > Rather than dirtying a page when establishing a (permanent) mapping, > dirty it when the page gets unmapped, or - if still mapped - on the > final iteration of a save operation (or in other cases where the guest > is paused or already shut down). (Transient mappings continue to get > dirtied upon getting mapped, to avoid the overhead of tracking.) > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper