From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [ANNOUNCE] Xen 3.3.2 and 3.4.1 released Date: Tue, 11 Aug 2009 11:29:21 +0300 Message-ID: <20090811082921.GH24960@edu.joroinen.fi> References: <19072.994.344657.139865@mariner.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: Andrew Lyon Cc: KUWAMURA Shin'ya , "xen-devel@lists.xensource.com" , Ian Jackson , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Mon, Aug 10, 2009 at 01:46:30PM +0100, Andrew Lyon wrote: > On Mon, Aug 10, 2009 at 12:26 PM, Ian Jackson wrote: > > On 10/08/2009 11:11, "Andrew Lyon" wrote: > >> Sorry to report this on the final 3.4.1 but I never had time to test > >> any of the rc's, it appears that the fix for using videoram config > >> setting was not applied to 3.4.1, when I try to start a domain with > >> stdvga=3D1 and videoram=3D16 it fails: > > > > Do you mean this: > > > > =A0commit e0bb6b8df60863bca0163a1688baf4854e931e55 > > =A0Author: Ian Jackson > > =A0Date: =A0 Mon Jun 8 17:45:42 2009 +0100 > > > > =A0 =A0 =A0stdvga + videoram config option > > > > =A0 =A0 =A0Without this patch, guests cannot be created on ia64 becau= se of > > =A0 =A0 =A0qemu-dm's error. > > > > =A0 =A0 =A0Signed-off-by: KUWAMURA Shin'ya > > > > That appears to remove this assignment > > =A0 =A0 =A0ram_size =3D vga_ram_size; > > from an ia64-specific fragment in vl.c which doesn't appear in the 3.= 4 > > branch. > > > > If that's not what you meant, what did you mean ? :-) > > > > Ian. > > >=20 > Yes that is the correct pair of patches, I have tested on x86_64 and I > am able to create hvm with increased video ram, I do not see much > value in applying a patch which does not work and then fixing it if > both are not currently in 3.4 so here is a single patch instead, > perhaps KUWAMURA Shin'ya can add a signed-off-by to this too. >=20 > Signed-off-by: Andrew Lyon >=20 Btw is there some web based method of seeing shortlogs/logs of xen qemu g= it repositories? http://xenbits.xensource.com/git-http/qemu-xen-3.4-testing.git/ I didn't figure out the way to see the logs from the web interface..=20 was just wondering if this fix was already merged into qemu-xen-3.4-testi= ng. -- Pasi >=20 > --- >=20 > diff --git tools/ioemu-qemu-xen/vl.c tools/ioemu-qemu-xen/vl.c > index b5bb5cb..3506977 100644 > --- tools/ioemu-qemu-xen/vl.c > +++ tools/ioemu-qemu-xen/vl.c > @@ -4801,7 +4801,6 @@ int main(int argc, char **argv, char **envp) > machine =3D first_machine; > cpu_model =3D NULL; > initrd_filename =3D NULL; > - ram_size =3D VGA_RAM_SIZE; > #ifdef CONFIG_GDBSTUB > use_gdbstub =3D 0; > gdbstub_port =3D DEFAULT_GDBSTUB_PORT; > @@ -5654,13 +5653,6 @@ int main(int argc, char **argv, char **envp) > } > #endif >=20 > -#if defined (__ia64__) > - if (ram_size > VGA_IO_START) > - ram_size +=3D VGA_IO_SIZE; /* skip VGA I/O hole */ > - if (ram_size > MMIO_START) > - ram_size +=3D 1 * MEM_G; /* skip 3G-4G MMIO, LEGACY_IO_SPACE e= tc. */ > -#endif > - > /* init the bluetooth world */ > for (i =3D 0; i < nb_bt_opts; i++) > if (bt_parse(bt_opts[i])) > @@ -5677,6 +5669,13 @@ int main(int argc, char **argv, char **envp) >=20 > phys_ram_size =3D (machine->ram_require + vga_ram_size) & ~RAMSIZE= _FIXED; >=20 > +#if defined (__ia64__) > + if (ram_size > VGA_IO_START) > + ram_size +=3D VGA_IO_SIZE; /* skip VGA I/O hole */ > + if (ram_size > MMIO_START) > + ram_size +=3D 1 * MEM_G; /* skip 3G-4G MMIO, LEGACY_IO_SPACE e= tc. */ > +#endif > + > if (machine->ram_require & RAMSIZE_FIXED) { > if (ram_size > 0) { > if (ram_size < phys_ram_size) { >=20 >=20 > Andy >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel