]> xenbits.xensource.com Git - xen.git/commitdiff
xenctx: More info on failed to map page.
authorDon Slutz <Don@CloudSwitch.com>
Thu, 3 Apr 2014 19:06:59 +0000 (15:06 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 4 Apr 2014 08:28:07 +0000 (09:28 +0100)
Also output an extra new line since we may be in the middle of output.

Signed-off-by: Don Slutz <Don@CloudSwitch.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
tools/xentrace/xenctx.c

index eb30577cefa1f966c0a4fde6544b3a5544c3cf67..4bb5507212ef15ee9689a75c89287f77508db644 100644 (file)
@@ -618,7 +618,7 @@ static void *map_page(vcpu_guest_context_any_t *ctx, int vcpu, guest_word_t virt
     mapped = xc_map_foreign_range(xenctx.xc_handle, xenctx.domid, XC_PAGE_SIZE, PROT_READ, mfn);
 
     if (mapped == NULL) {
-        fprintf(stderr, "failed to map page.\n");
+        fprintf(stderr, "\nfailed to map page for "FMT_32B_WORD".\n", virt);
         return NULL;
     }