aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpaging
diff options
context:
space:
mode:
authorJoe Epstein <jepstein98@gmail.com>2011-01-07 11:54:40 +0000
committerJoe Epstein <jepstein98@gmail.com>2011-01-07 11:54:40 +0000
commitfbbedcae8c0c5374f8c0a869f49784b37baf04bb (patch)
tree6a2a50b6ea18fef45c61f6e648f154c0138e244c /tools/xenpaging
parenta6cdb9545035b731802de41e10b2b43ef4ffd9c0 (diff)
downloadxen-fbbedcae8c0c5374f8c0a869f49784b37baf04bb.tar.gz
xen-fbbedcae8c0c5374f8c0a869f49784b37baf04bb.tar.bz2
xen-fbbedcae8c0c5374f8c0a869f49784b37baf04bb.zip
mem_access: mem event additions for access
* Adds an ACCESS memory event type, with RESUME as the action. * Refactors the bits in the memory event to store whether the memory event was a read, write, or execute (for access memory events only). I used bits sparingly to keep the structure somewhat the same size. * Modified VMX to report the needed information in its nested page fault. SVM is not implemented in this patch series. Signed-off-by: Joe Epstein <jepstein98@gmail.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'tools/xenpaging')
-rw-r--r--tools/xenpaging/xenpaging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c
index 508068f9c5..4608cf67bd 100644
--- a/tools/xenpaging/xenpaging.c
+++ b/tools/xenpaging/xenpaging.c
@@ -658,7 +658,7 @@ int main(int argc, char *argv[])
{
DPRINTF("page already populated (domain = %d; vcpu = %d;"
" p2mt = %x;"
- " gfn = %"PRIx64"; paused = %"PRId64")\n",
+ " gfn = %"PRIx64"; paused = %d)\n",
paging->mem_event.domain_id, req.vcpu_id,
req.p2mt,
req.gfn, req.flags & MEM_EVENT_FLAG_VCPU_PAUSED);