From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH] hvm: Use main memory for video memory. [Was: xend, 8MB video memory and ballooning] Date: Thu, 31 Jul 2008 17:29:00 +0100 Message-ID: <20080731162900.GW4678@implementation.uk.xensource.com> References: <20080731132744.GL4678@implementation.uk.xensource.com> 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: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser, le Thu 31 Jul 2008 14:41:01 +0100, a =E9crit : > On 31/7/08 14:27, "Samuel Thibault" wro= te: > >> Really too big for Xen 3.3 at this point, unfortunately. > >=20 > > Ok, then I guess I should document that for stub domains to work one > > shouldn't use the ballooner. Or a quick&dirty fix would be to add th= e > > 8MB extra ballooning for PV guests as well. >=20 > I think documenting the mutual incompatibility is fine for 3.3. But it'= s up > to you. The sad thing is that although it would fix HVM+ioemu-dom boot, this quick&dirty fix of course fixes the underlying race only for one HVM domain lagging behind. If there are several, 8MB won't be enough, etc. I guess it's simpler to just document. Samuel stubdom: update documentation stubdom/ is now compiled and installed by default HVM+IOEMU-stubdom can not boot if dom0 has to be ballooned. diff -r e75cd1659ea1 stubdom/README --- a/stubdom/README Thu Jul 31 16:48:11 2008 +0100 +++ b/stubdom/README Thu Jul 31 17:24:07 2008 +0100 @@ -1,13 +1,3 @@ To compile -To compile -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - -Just run make -j 4, that will download / patch / compile -Then make install to install the result. - -Also, run make and make install in $XEN_ROOT/tools/fs-back - - - IOEMU stubdom =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 @@ -15,6 +5,11 @@ Also, run make and make install in $XEN_ =20 General Configuration =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Due to a race between the creation of the IOEMU stubdomain itself and al= location +of video memory for the HVM domain, you need to avoid the need for ballo= oning, +by using the hypervisor dom0_mem=3D option for instance. + =20 In your HVM config "hvmconfig", =20