From: Ian Jackson Subject: Re: [PATCH] libxl: Specify the target ram size to Qemu (new) when calling it Date: Thu, 6 Jan 2011 15:46:03 +0000 Message-ID: <19749.58299.207623.974707@mariner.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony Perard Cc: Xen Devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org Anthony Perard writes ("Re: [Xen-devel] [PATCH] libxl: Specify the target ram size to Qemu (new) when calling it"): > On Thu, 6 Jan 2011, Keir Fraser wrote: > > Qemu used to be responsible for initialising BIOS info tables, including > > memory size information such as e820, in lieu of the virtual BIOS doing it. > > I ripped all that out from our diverged tree, and put it in > > hvmloader/rombios, but maybe they still do it in upstream qemu. I think it > > would be harmless if so, since hvmloader/rombios will overwrite/ignore. > > There are another reason, qemu "allocate" the memory for the vga at a > dynamic address. In qemu-xen, this address is static. So qemu need to > know the size of the ram to put the memory of the vga after the ram. > Qemu do the same for other memory like the rom of a nic. > > Information about the ram is put in the struct RAMBlock of qemu. Right. OK, I'll stop worrying :-). Ian.