Re: [Xen-devel] [PATCH 09/10] log-dirty: Refine common code to support PML

2015-04-09 Thread Tim Deegan
At 10:35 +0800 on 27 Mar (1427452553), Kai Huang wrote: > --- a/xen/arch/x86/mm/paging.c > +++ b/xen/arch/x86/mm/paging.c > @@ -411,7 +411,18 @@ static int paging_log_dirty_op(struct domain *d, > int i4, i3, i2; > > if ( !resuming ) > +{ > domain_pause(d); > + > +/*

[Xen-devel] [PATCH 09/10] log-dirty: Refine common code to support PML

2015-03-26 Thread Kai Huang
This patch adds several new callbacks in paging/hap/p2m layer to support PML. At paging layer, a new callback is added to log_dirty_domain to flush hardware cached dirty pages to log-dirty radix tree, as in case of PML, it's possible there are dirty GPAs logged in vcpus' PML buffers when userspace