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] Renamed XendDomainInfo.getTargetMemory to getMemoryTarge

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Renamed XendDomainInfo.getTargetMemory to getMemoryTarget, for consistency with
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Sep 2005 13:26:19 +0000
Delivery-date: Mon, 19 Sep 2005 13:26:02 +0000
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 emellor@ewan
# Node ID 5007bebba2f58c567f58adebe6159848fe107760
# Parent  7e8eac6e96c6099d34fc1251c771f075096e471c
Renamed XendDomainInfo.getTargetMemory to getMemoryTarget, for consistency with
XendDomainInfo.setMemoryTarget.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 7e8eac6e96c6 -r 5007bebba2f5 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Sun Sep 18 14:41:28 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Sun Sep 18 14:50:12 2005
@@ -339,7 +339,7 @@
     def getSsidref(self):
         return self.ssidref
 
-    def getTargetMemory(self):
+    def getMemoryTarget(self):
         """Get this domain's target memory size, in MiB."""
         return self.memory
 
diff -r 7e8eac6e96c6 -r 5007bebba2f5 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Sun Sep 18 14:41:28 2005
+++ b/tools/python/xen/xend/image.py    Sun Sep 18 14:50:12 2005
@@ -313,7 +313,7 @@
                            image          = self.kernel,
                            control_evtchn = self.device_channel.port2,
                            store_evtchn   = store_evtchn,
-                           memsize        = self.vm.getTargetMemory(),
+                           memsize        = self.vm.getMemoryTarget(),
                            memmap         = self.memmap_value,
                            cmdline        = self.cmdline,
                            ramdisk        = self.ramdisk,
@@ -413,7 +413,7 @@
             args = args + vnc
         args = args + ([ "-d",  "%d" % self.vm.getDomain(),
                   "-p", "%d" % self.device_channel.port1,
-                  "-m", "%s" % self.vm.getTargetMemory() ])
+                  "-m", "%s" % self.vm.getMemoryTarget() ])
         args = args + self.dmargs
         env = dict(os.environ)
         env['DISPLAY'] = self.display
diff -r 7e8eac6e96c6 -r 5007bebba2f5 
tools/python/xen/xend/server/SrvDomainDir.py
--- a/tools/python/xen/xend/server/SrvDomainDir.py      Sun Sep 18 14:41:28 2005
+++ b/tools/python/xen/xend/server/SrvDomainDir.py      Sun Sep 18 14:50:12 2005
@@ -155,7 +155,7 @@
                 req.write('<li><a href="%s%s"> Domain %s</a>'
                           % (url, d.getName(), d.getName()))
                 req.write('id=%s' % d.getDomain())
-                req.write('memory=%d'% d.getTargetMemory())
+                req.write('memory=%d'% d.getMemoryTarget())
                 req.write('ssidref=%d'% d.getSsidref())
                 req.write('</li>')
             req.write('</ul>')

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Renamed XendDomainInfo.getTargetMemory to getMemoryTarget, for consistency with, Xen patchbot -unstable <=