[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] [Bug 933] Fix the xm mem-max command



Hi,

I fixed the Xen bugzilla 933 and other bug. 
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=933


BTW, I tested the xm mem-max command with attached patch. 
The "maxmem" and the "memory" were changed as follows by the 
xm mem-max command.  Is the result specification? or 
bug?  I thought that the result is bug, so I tried to remove 
the line of "self.info['memory_dynamic_max'] = limit * MiB" 
in setMemoryMaximum().  As the result, only the "maxmem" was 
changed by the xm mem-max command. Am I right?

# xm new /xen/vm1.conf 
Using config file "/xen/vm1.conf".
# xm list --long vm1 | grep mem
    (maxmem 384)
    (memory 256)
    (shadow_memory 0)
# xm mem-max vm1 512
# xm list --long vm1 | grep mem
    (maxmem 512)
    (memory 512)
    (shadow_memory 0)


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: xm_memmax.patch
Description: Binary data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.