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

Tue Dec 22 01:00:36 UTC 2009
Scot P. Floess <sfloess at nc.rr.com>

Hey thanks...

Yeah I saw that regarding no guarantee...  Was hoping maybe it would work 
;)

On Mon, 21 Dec 2009, Mathew S. McCarrell wrote:

> 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
> 
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros