On 03/05/09 02:52, Bernd Schemmer wrote:
Hi,

AFAIK as I know you can only shrink the memory for DomU and not add additional memory to it.

Not true. You can change the maximum memory with "xm mem-max". no-limit would be setting it to the max ram on the machine. You can't reduce the max memory below the original maxmem specified in the domain configuration file. If maxmem isn't specified, it defaults to memory. Here's part of my typical config file:

# Initial memory allocation (in megabytes) for the new domain.
memory = 256
maxmem = 1024

Given this I can "xm mem-set" up to 1024 while the domain is running. I can then do "xm mem-max 2048" to up the limit and then "xm mem-set" up to 2048. I can "xm mem-max" anywhere between 1024 and up, but not lower.

Mick




_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to