Re: xm mem-set on an F11 xen guest

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



On Mon, Dec 21, 2009 at 3:01 PM, Scot P. Floess <sfloess@xxxxxxxxx> 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@xxxxxxxxx
mccarrms@xxxxxxxxxxxx
1-518-314-9214
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux