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-ia64-devel

[Xen-ia64-devel] Question about memory initial interface modification in

To: <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Question about memory initial interface modification in Xend?
From: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>
Date: Thu, 9 Nov 2006 10:47:53 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 08 Nov 2006 18:48:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccDqXRWvsGnr7FCTrmLhU1ZAt+PVw==
Thread-topic: Question about memory initial interface modification in Xend?

Hi Keir:

          In your patch 12199 you modified memory initial interface in Xend and suggested IA64 not allocating memory by xend. But I noticed IA32 still use this interface, is there any difference?

 

Below are your changes:

diff -r 96f51a000ed0 -r cf3d69ba5633 tools/python/xen/xend/XendDomainInfo.py

--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Nov 01 18:32:45 2006 +0000

+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Nov 01 18:37:23 2006 +0000

@@ -1295,9 +1295,11 @@ class XendDomainInfo:

             shadow_cur = xc.shadow_mem_control(self.domid, shadow / 1024)

             self.info['shadow_memory'] = shadow_cur

 

-            # initial memory reservation

-            xc.domain_memory_increase_reservation(self.domid, reservation, 0,

-                                                  0)

+            # Initial memory reservation

+            if not (self._infoIsSet('image') and

+                    sxp.name(self.info['image']) == "hvm"):

+                xc.domain_memory_increase_reservation(

+                    self.domid, reservation, 0, 0)

 

             self._createChannels()

 

thxJ

 

Good good study,day day up ! ^_^

-Wing(zhang xin)

 

OTC,Intel Corporation

 

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>