[Xen-changelog] [xen-unstable] Fix xm mem-set on non-running domains. Closes bug #934.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Xen-changelog] [xen-unstable] Fix xm mem-set on non-running domains. Closes bug #934.

Xen patchbot-unstable
# HG changeset patch
# User Ewan Mellor <[hidden email]>
# Date 1174913976 -3600
# Node ID 1b4fd14f88bbe8e8c26a24e0645a8d382041abbe
# Parent  2b372eadc4ffe56ce052a4f55a4a7e882a87ab3d
Fix xm mem-set on non-running domains.  Closes bug #934.

Signed-off-by: Masaki Kanno <[hidden email]>
---
 tools/python/xen/xend/XendDomainInfo.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 2b372eadc4ff -r 1b4fd14f88bb tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Mon Mar 26 13:57:43 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Mon Mar 26 13:59:36 2007 +0100
@@ -573,8 +573,8 @@ class XendDomainInfo:
         """Set the memory target of this domain.
         @param target: In MiB.
         """
-        log.debug("Setting memory target of domain %s (%d) to %d MiB.",
-                  self.info['name_label'], self.domid, target)
+        log.debug("Setting memory target of domain %s (%s) to %d MiB.",
+                  self.info['name_label'], str(self.domid), target)
         
         if target <= 0:
             raise XendError('Invalid memory size')

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog