ia64/xen-unstable

changeset 12885:c650fe6d56f6

[IA64] change XEN_DOMCTL_getmemlist to return gmfn instead of mfn

This patch tries to get 'xm dump-core' work on ia64 again.
With this patch, 'xm dump-core' results in creating core-dump file
as before with a slight format changes.
(machine address array -> pseudo physicall address array)
However xm dump-core has been broken on ia64 since
XEN_DOMCTL_getmemlist/ia64 is differenct from x86's.
This patch does NOT fix it.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild2.aw
date Fri Dec 08 09:32:15 2006 -0700 (2006-12-08)
parents 45f79978ceb5
children 1cfd862e5254
files xen/arch/ia64/xen/dom0_ops.c
line diff
     1.1 --- a/xen/arch/ia64/xen/dom0_ops.c	Thu Dec 07 15:02:37 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/dom0_ops.c	Fri Dec 08 09:32:15 2006 -0700
     1.3 @@ -55,7 +55,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
     1.4              pte = (pte_t *)lookup_noalloc_domain_pte(d,
     1.5                                                 (start_page + i) << PAGE_SHIFT);
     1.6              if (pte && pte_present(*pte))
     1.7 -                mfn = pte_pfn(*pte);
     1.8 +                mfn = start_page + i;
     1.9              else
    1.10                  mfn = INVALID_MFN;
    1.11