It's actually quite simple: is there any way I can set maxmem at runtime from the command line? If I edit the .xsp files, how can I ensure they are being re-read by Xen?

link|improve this question

50% accept rate
feedback

2 Answers

up vote 1 down vote accepted
# xm mem-max help
Error: 'xm mem-max' requires 2 arguments.

Usage: xm mem-max <Domain> <Mem>

Set the maximum amount reservation for a domain.

Make sure you change the .xsp in accordance so that it retains the new setting after reboot.

link|improve this answer
thanks, wonder why this is not in the documentation.... – rassie Aug 5 '09 at 12:06
feedback

This depends on what your guest OS is, but I've read that the Linux kernel doesn't support ballooning its memory above the maxmem argument passed to the kernel at boot. My information might be out of date, though.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.