From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4KX5-0001Wd-C3 for qemu-devel@nongnu.org; Mon, 17 Dec 2007 13:17:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4KX3-0001Ue-Ec for qemu-devel@nongnu.org; Mon, 17 Dec 2007 13:17:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4KX3-0001UQ-6o for qemu-devel@nongnu.org; Mon, 17 Dec 2007 13:17:37 -0500 Received: from ecfrec.frec.bull.fr ([129.183.4.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J4KX2-0006RD-HJ for qemu-devel@nongnu.org; Mon, 17 Dec 2007 13:17:37 -0500 Subject: Re: [Qemu-devel] [Patch 1/2] switch support v2 From: Laurent Vivier In-Reply-To: <4766B205.50204@kama-aina.net> References: <47657715.9020402@kama-aina.net> <4766B205.50204@kama-aina.net> Date: Mon, 17 Dec 2007 19:17:02 +0100 Message-Id: <1197915422.17512.3.camel@frecb07144> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+9h+jxMxQ3iVmSjXqJB8" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Armin --=-+9h+jxMxQ3iVmSjXqJB8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, if you just want to configure which bank to use with pflash, perhaps you can do something like: qemu -drive if=3Dpflash,unit=3D0 to use the first bank, and qemu -drive if=3Dpflash,unit=3D1 to use the second bank. Laurent Le lundi 17 d=C3=A9cembre 2007 =C3=A0 07:29 -1000, Armin a =C3=A9crit : > Johannes Schindelin wrote: > > Hi, > > > > On Sun, 16 Dec 2007, Armin wrote: > > > > =20 > >> This may be one way to simulate switch or jumper settings one may chan= ge=20 > >> on a board before booting. It uses a simple text file for input. The=20 > >> file name is pointed to by -config on the command line. > >> > >> example: > >> config file: > >> [switches] > >> 7:on > >> [jumpers] > >> =20 > > > > I find this format utterly ugly. =20 > I can only make it better then : ) > > You have sections like INI files, but=20 > > then refuse to keep to that format. > > > > Besides, I fail to see why this has to be a config file? =20 > It can be named anything , I suppose "switch"would be better > > All other=20 > > settings are command line switches and/or monitor settings, and there i= s=20 > > no good reason why switches and jumpers should not be handled that way. > > =20 > Do you mean something like -sw or -jp?=20 >=20 > regards, > -Armin >=20 >=20 >=20 >=20 --=20 ----------------- Laurent.Vivier@bull.net ------------------ "La perfection est atteinte non quand il ne reste rien =C3=A0 ajouter mais quand il ne reste rien =C3=A0 enlever." Saint Exup=C3=A9ry --=-+9h+jxMxQ3iVmSjXqJB8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHZr0e9Kffa9pFVzwRAlX7AJ9X5fCBoJM560kwmKjPD0UbOq0zCwCg0SHS zJfvF01JnFowB0Urnc+JS3k= =N+cA -----END PGP SIGNATURE----- --=-+9h+jxMxQ3iVmSjXqJB8--