From: Keir Fraser Subject: Re: How is the virt_hv_start_low used in compatible guest Date: Thu, 09 Jul 2009 08:27:18 +0100 Message-ID: References: <4A55A948020000780004C412@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A55A948020000780004C412@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , "yunhong.jiang@intel.com" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 09/07/2009 08:24, "Jan Beulich" wrote: >>>> "Jiang, Yunhong" 07/08/09 9:22 AM >>> >> When consider the memory add situation, the size can't be >> adjusted, so I disable this adjustment if we support memory >> add, do you think it is ok? > > I wouldn't welcome this - instead, the maximum range of > memory ever expected to be added should be controlled by a > command line option for that purpose. And even without such, > instead of completely avoiding the adjustment, it should be > done assuming the maximum amount a 32-bit domain would > ever get to see (128Gb), which would still make the hole > smaller than it is on a 32-bit hv. We agreed for now to size the hole big enough for amount of memory visible at boot time, and compat dom0 will simply be unable to be allocated dynamically added memory. It is at least not a regression of existing support for compat dom0. We can do smarter things later if someone really cares about the limitations of this scenario. -- Keir