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

[Xen-changelog] [xen-unstable] Remove guest_physmap_max_mem_pages(), which is no longer usefully



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1220447658 -3600
# Node ID c759a6cef79fcb33f867c8e92afc2ed4e73dfe13
# Parent  a4cf79209a28ccd22473a99c0dc258027b262508
Remove guest_physmap_max_mem_pages(), which is no longer usefully
defined in any architecture.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
 xen/common/domctl.c           |    3 ---
 xen/include/asm-ia64/shadow.h |    2 --
 xen/include/asm-x86/shadow.h  |    2 --
 3 files changed, 7 deletions(-)

diff -r a4cf79209a28 -r c759a6cef79f xen/common/domctl.c
--- a/xen/common/domctl.c       Wed Sep 03 12:45:59 2008 +0100
+++ b/xen/common/domctl.c       Wed Sep 03 14:14:18 2008 +0100
@@ -655,9 +655,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
         spin_lock(&d->page_alloc_lock);
         if ( new_max >= d->tot_pages )
         {
-            ret = guest_physmap_max_mem_pages(d, new_max);
-            if ( ret != 0 )
-                break;
             d->max_pages = new_max;
             ret = 0;
         }
diff -r a4cf79209a28 -r c759a6cef79f xen/include/asm-ia64/shadow.h
--- a/xen/include/asm-ia64/shadow.h     Wed Sep 03 12:45:59 2008 +0100
+++ b/xen/include/asm-ia64/shadow.h     Wed Sep 03 14:14:18 2008 +0100
@@ -63,8 +63,6 @@ shadow_mark_page_dirty(struct domain *d,
         return 0;
 }
 
-#define guest_physmap_max_mem_pages(d, n) (0)
-
 #endif // _XEN_SHADOW_H
 
 /*
diff -r a4cf79209a28 -r c759a6cef79f xen/include/asm-x86/shadow.h
--- a/xen/include/asm-x86/shadow.h      Wed Sep 03 12:45:59 2008 +0100
+++ b/xen/include/asm-x86/shadow.h      Wed Sep 03 14:14:18 2008 +0100
@@ -115,8 +115,6 @@ static inline void shadow_remove_all_sha
     sh_remove_shadows(v, gmfn, 0 /* Be thorough */, 1 /* Must succeed */);
 }
 
-#define guest_physmap_max_mem_pages(d, n) (0)
-
 #endif /* _XEN_SHADOW_H */
 
 /*

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