From: Samuel Thibault Subject: Re: [PATCH 0 of 4] videoram allocation and stdvga improvements Date: Tue, 13 Jan 2009 15:31:36 +0100 Message-ID: <20090113143136.GI5033@const.bordeaux.inria.fr> References: <496C866B.1010307@eu.citrix.com> <20090113140108.GH5033@const.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20090113140108.GH5033@const.bordeaux.inria.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini , xen-devel List-Id: xen-devel@lists.xenproject.org Samuel Thibault, le Tue 13 Jan 2009 15:01:08 +0100, a =E9crit : > Stefano Stabellini, le Tue 13 Jan 2009 12:17:47 +0000, a =E9crit : > > In order to simplify the codepath and the libxc API, this patch serie= s > > removes the videoram allocation code from hvmloader and lets qemu do = the > > job, using xc_domain_memory_populate_physmap. >=20 > That's what it was doing before I made hvmloader do it. The reason was > to make save/restore work fine with stubdomains dirty log, etc. Ah, now I remember the precise reason, written in the 18383 changelog: When creating an HVM domain, if e.g. another domain is created before qemu allocates video memory, the extra 8MB memory ballooning is not available any more, because it got consumed by the other domain. Samuel