Displaying 2 results from an estimated 2 matches for "after_first_access".
2012 Apr 24
1
[PATCH] [resend] xen-access: Check return values and clean up on errors during init
...printf("PAGE ACCESS: %c%c%c for GFN %"PRIx64" (offset %06"
PRIx64") gla %016"PRIx64" (vcpu %d)\n",
@@ -599,7 +639,17 @@ int main(int argc, char *argv[])
req.vcpu_id);
if ( default_access != after_first_access )
- rc = xc_hvm_set_mem_access(xch, domain_id, after_first_access, req.gfn, 1);
+ {
+ rc = xc_hvm_set_mem_access(xch, domain_id,
+ after_first_access, req.gfn, 1);
+ if (rc < 0)...
2012 Nov 29
14
Mem_event API and MEM_EVENT_REASON_SINGLESTEP
Hello,
I''m interested in using the mem_event API (or it''s LibVMI wrapper), but
I''m interested in capturing write events anywhere in a domU guest''s
memory, _and_ not just once for each page write, but every time a page
is being written to.
To this end, I''ve looked at the xen-access.c example, where at first all
the pages are being monitored: