Skip to contentSkip to conversation

Fix the xm mem-set command

PATCH Applied Masaki Kanno 2 participants 2 messages Mar 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix the xm mem-set command

Hi,

I fixed the Xen bugzilla 934.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=934

Best regards,
Kan

tools/python/xen/xend/XendDomainInfo.py +2 -2
diff -r dccb274295ae tools/python/xen/xend/XendDomainInfo.py
@@ -572,8 +572,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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel