ia64/xen-unstable

changeset 7556:6304291cf08b

Print out MFN in audit code, for debugging purposes.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Sun Oct 30 13:24:45 2005 +0100 (2005-10-30)
parents 889afaf6ca25
children 4722eae11abb
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Sun Oct 30 13:23:21 2005 +0100
     1.2 +++ b/xen/arch/x86/domain.c	Sun Oct 30 13:24:45 2005 +0100
     1.3 @@ -189,22 +189,22 @@ void dump_pageframe_info(struct domain *
     1.4      {
     1.5          list_for_each_entry ( page, &d->page_list, list )
     1.6          {
     1.7 -            printk("Page %p: caf=%08x, taf=%" PRtype_info "\n",
     1.8 -                   _p(page_to_phys(page)), page->count_info,
     1.9 +            printk("Page %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
    1.10 +                   _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.11                     page->u.inuse.type_info);
    1.12          }
    1.13      }
    1.14  
    1.15      list_for_each_entry ( page, &d->xenpage_list, list )
    1.16      {
    1.17 -        printk("XenPage %p: caf=%08x, taf=%" PRtype_info "\n",
    1.18 -               _p(page_to_phys(page)), page->count_info,
    1.19 +        printk("XenPage %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
    1.20 +               _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.21                 page->u.inuse.type_info);
    1.22      }
    1.23  
    1.24      page = virt_to_page(d->shared_info);
    1.25 -    printk("Shared_info@%p: caf=%08x, taf=%" PRtype_info "\n",
    1.26 -           _p(page_to_phys(page)), page->count_info,
    1.27 +    printk("Shared_info@%p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
    1.28 +           _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.29             page->u.inuse.type_info);
    1.30  }
    1.31