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

[Xen-changelog] [xen-unstable] [IA64] change XEN_DOMCTL_getmemlist to return gmfn instead of mfn



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Node ID c650fe6d56f63a412432b3bccd5842dfe70a78a3
# Parent  45f79978ceb5e93f42dc610cc93ad79b0c63055b
[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@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/dom0_ops.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 45f79978ceb5 -r c650fe6d56f6 xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c      Thu Dec 07 15:02:37 2006 -0700
+++ b/xen/arch/ia64/xen/dom0_ops.c      Fri Dec 08 09:32:15 2006 -0700
@@ -55,7 +55,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
             pte = (pte_t *)lookup_noalloc_domain_pte(d,
                                                (start_page + i) << PAGE_SHIFT);
             if (pte && pte_present(*pte))
-                mfn = pte_pfn(*pte);
+                mfn = start_page + i;
             else
                 mfn = INVALID_MFN;
 

_______________________________________________
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®.