[CentOS] xm mem-set on an F11 xen guest

Tue Dec 22 00:37:38 UTC 2009
Mathew S. McCarrell <mccarrms at gmail.com>

On Mon, Dec 21, 2009 at 3:01 PM, Scot P. Floess <sfloess at nc.rr.com> wrote:

> I just tried to change the memory for my F11 xen guest from 512 to 1024.
> After executing:
>
> xm mem-set workstation 1024
>
> xm list shows the memory still being 512.  Anyone else see this behavior
> before?  I tried other values as well - but the memory is still what it
> was when I created the VM...
>
> I'm running CentOS 5.4 on an i386...
>
>
You might have to use xm mem-max to set the maximum memory for the guest
prior to using xm mem-set.  Also, if you look at the man page for xm, you
will see the following for mem-set:

"Because this operation requires cooperation from the domain operating
system, there is no guarantee that it will succeed.  This command will
definitely not work unless the domain has the required paravirt driver."

So, there is no guarantee that you can increase/decrease the ram of a guest
without restarting it.

Matt

--
Mathew S. McCarrell
Clarkson University '10

mccarrms at gmail.com
mccarrms at clarkson.edu
1-518-314-9214
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091221/f7d06fee/attachment-0005.html>