WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xenballooning

George Shuklin wrote:

But how we can add more memory to guest VM in realtime, than was at boot
time?

Can we somehow make balloon inflated at start time? (F.e. VM starts with
memory = 512Mb and balloon inflating to +512Mb).

Yes, you can do that, and it took me a while to find out how. In your config file put something like this :
memory  = '512'
maxmem  = '1024'

As I understnad it, it will start the guest with (in this example) 512M of RAM, but you can use "xm mem-set nnn" to increase that within the bounds of the maxmem setting. If increasing, the extra memory is hotplugged into the client. When decreasing, I assume there is a process for getting the client to free up the memory before it is hotplug removed.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>