On Thu, Mar 05, 2009 at 12:18:59PM -0800, Mick Jordan wrote: > >Note that the guest OS needs to support raising the memory above the > >original allocation. Solaris currently does not support this. Xen > >will allocate memory to the domain, but the memory will not be used. > > > >The last time I looked (which was a long time ago), Linux did not > >support this either. > > > I think you mean "needs to support raising the max memory above the > original allocation". Certainly Solars/Linux support raising "memory" > above the original allocation via the balloon drivers. > > Actually I was quite surprised that it was even possible to raise > max-memory. It almost seems like a contradiction in terms. It > essentially makes max-memory a pretty useless concept for a guest. E.g., > you might imagine you could permanently size data structures dealing > with memory based on this value, but no.
mem-set affects the running guest (balloon driver), but mem-max does not (it will only apply after a reboot). All kernels use the max-mem value for precisely what you suggest, and they won't see any changes in the value until they're rebooted (that is, no memory hotplug, only balloon). regards john _______________________________________________ xen-discuss mailing list [email protected]
