WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Sources of page dirtying for HVM domains in Xen 3.2.x

To: "Mike Sun" <msun@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Sources of page dirtying for HVM domains in Xen 3.2.x
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx>
Date: Thu, 2 Oct 2008 21:49:03 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Delivery-date: Thu, 02 Oct 2008 13:49:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e4e579070810021219g66054099of3eb45c082146e30@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e4e579070810021219g66054099of3eb45c082146e30@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ackkw+JVpPWm26VWQ1iLH1a4caL5LgAC/FGA
Thread-topic: [Xen-devel] Sources of page dirtying for HVM domains in Xen 3.2.x
> But I've noticed that the paging_mark_dirty() is also called from
> other places that do not originate from the page fault handler.  This
> makes sense to me for PV translated domains as other Xen functions may
> modify guest pages.  But for HVM domains, are there other sources of
> guest memory modification that will not originate from page faults?

Qemu-dm emulated DMA, PV driver DMA.

Within page fault handling you've also got to consider the special cases
of MMIO, PTE accessed/dirty bit update.

Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel