From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9c61-0006oI-HV for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:53:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9c5c-0005Y5-CA for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:53:57 -0400 Message-ID: <4F672C4A.60406@suse.de> Date: Mon, 19 Mar 2012 13:53:30 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1331995186-18507-1-git-send-email-hpoussin@reactos.org> <1331995186-18507-3-git-send-email-hpoussin@reactos.org> In-Reply-To: <1331995186-18507-3-git-send-email-hpoussin@reactos.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 2/6] prep: change default cpu to '7448' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Gerd Hoffmann Am 17.03.2012 15:39, schrieb Herv=C3=A9 Poussineau: > In b37fc148bb81b5b022846156a6cba266e6c23962, PReP default cpu was chang= ed from > 'default' to '602'. However, '7448' is closer of 'default' than '602'. >=20 > This repairs following command line, which is available in some tutoria= ls: > qemu-system-ppc -kernel zImage.prep -fda debian_install_root.bin -M pre= p >=20 > Cc: Gerd Hoffmann > Signed-off-by: Herv=C3=A9 Poussineau Weak nack. I guess this depends more on the image than on the command line. If at this point we change the default CPU for -M prep, we would need to start creating prep-1.0 etc. which I would like to avoid as long as possible... Did you happen to found out which physical machine 'prep' corresponds to? If so, what CPU did it have? The Sandalfoot supposedly had a 601, the BeBox a dual 603. Andreas > --- > hw/ppc_prep.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c > index 06d589d..19a674f 100644 > --- a/hw/ppc_prep.c > +++ b/hw/ppc_prep.c > @@ -517,7 +517,7 @@ static void ppc_prep_init (ram_addr_t ram_size, > =20 > /* init CPUs */ > if (cpu_model =3D=3D NULL) > - cpu_model =3D "602"; > + cpu_model =3D "7448"; > for (i =3D 0; i < smp_cpus; i++) { > env =3D cpu_init(cpu_model); > if (!env) { --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg