[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Print out MFN in audit code, for debugging purposes.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 6304291cf08ba476b5e8260a21e9e702b7a327ab
# Parent  889afaf6ca258d82ac74993fb1def75c88186b61
Print out MFN in audit code, for debugging purposes.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 889afaf6ca25 -r 6304291cf08b xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Sun Oct 30 12:23:21 2005
+++ b/xen/arch/x86/domain.c     Sun Oct 30 12:24:45 2005
@@ -189,22 +189,22 @@
     {
         list_for_each_entry ( page, &d->page_list, list )
         {
-            printk("Page %p: caf=%08x, taf=%" PRtype_info "\n",
-                   _p(page_to_phys(page)), page->count_info,
+            printk("Page %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
+                   _p(page_to_phys(page)), page-frame_table, page->count_info,
                    page->u.inuse.type_info);
         }
     }
 
     list_for_each_entry ( page, &d->xenpage_list, list )
     {
-        printk("XenPage %p: caf=%08x, taf=%" PRtype_info "\n",
-               _p(page_to_phys(page)), page->count_info,
+        printk("XenPage %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
+               _p(page_to_phys(page)), page-frame_table, page->count_info,
                page->u.inuse.type_info);
     }
 
     page = virt_to_page(d->shared_info);
-    printk("Shared_info@%p: caf=%08x, taf=%" PRtype_info "\n",
-           _p(page_to_phys(page)), page->count_info,
+    printk("Shared_info@%p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
+           _p(page_to_phys(page)), page-frame_table, page->count_info,
            page->u.inuse.type_info);
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.