WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Remove guest_physmap_max_mem_pages(), wh

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove guest_physmap_max_mem_pages(), which is no longer usefully
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Sep 2008 20:20:10 -0700
Delivery-date: Wed, 03 Sep 2008 20:20:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove guest_physmap_max_mem_pages(), which is no longer usefully, Xen patchbot-unstable <=