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

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


I fixed the Xen bugzilla 933 and other bug. 

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,

Attachment: xm_memmax.patch
Description: Binary data

Xen-devel mailing list



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