Fix xm mem-set on non-running domains. Closes bug #934.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
Ewan Mellor committed 2007-03-26 13:59:36 +01:00
1 parent f7683bdacd
commit c322cc7717
1 file changed
+2 -2
+2 -2
View File
@@ -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')
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.