xenpaging: add debug to show received watch event.
authorOlaf Hering <olaf@aepfle.de>
Sun, 20 Nov 2011 17:26:15 +0000 (18:26 +0100)
committerOlaf Hering <olaf@aepfle.de>
Sun, 20 Nov 2011 17:26:15 +0000 (18:26 +0100)
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/xenpaging.c

index 8f9f52d1e0dd889ead8fa6fc80422d2b827f0080..b406d0119afb41e53e4d1e43e57d14c855286d72 100644 (file)
@@ -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 */