aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpaging
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-11-20 18:26:15 +0100
committerOlaf Hering <olaf@aepfle.de>2011-11-20 18:26:15 +0100
commit649ba37370023dbad4efb30566ebd3e01ad6d7c4 (patch)
tree7601c3f37c210d7ff8b31845e917c6660b6de239 /tools/xenpaging
parentc9e6b36d433e949e7e18b90b02db8449f84a0b68 (diff)
downloadxen-649ba37370023dbad4efb30566ebd3e01ad6d7c4.tar.gz
xen-649ba37370023dbad4efb30566ebd3e01ad6d7c4.tar.bz2
xen-649ba37370023dbad4efb30566ebd3e01ad6d7c4.zip
xenpaging: add debug to show received watch event.
Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/xenpaging')
-rw-r--r--tools/xenpaging/xenpaging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c
index 8f9f52d1e0..b406d0119a 100644
--- a/tools/xenpaging/xenpaging.c
+++ b/tools/xenpaging/xenpaging.c
@@ -108,6 +108,7 @@ static int xenpaging_wait_for_event_or_timeout(xenpaging_t *paging)
vec = xs_read_watch(paging->xs_handle, &num);
if ( vec )
{
+ DPRINTF("path '%s' token '%s'\n", vec[XS_WATCH_PATH], vec[XS_WATCH_TOKEN]);
if ( strcmp(vec[XS_WATCH_TOKEN], watch_token) == 0 )
{
/* If our guest disappeared, set interrupt flag and fall through */