From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4DCK-00088c-9M for qemu-devel@nongnu.org; Mon, 17 Dec 2007 05:27:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4DCH-00085Y-E1 for qemu-devel@nongnu.org; Mon, 17 Dec 2007 05:27:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4DCH-000855-3K for qemu-devel@nongnu.org; Mon, 17 Dec 2007 05:27:41 -0500 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1J4DCF-0004Wo-H6 for qemu-devel@nongnu.org; Mon, 17 Dec 2007 05:27:40 -0500 Date: Mon, 17 Dec 2007 10:27:19 +0000 (GMT) From: Johannes Schindelin Subject: Re: [Qemu-devel] [Patch 1/2] switch support v2 In-Reply-To: <47657715.9020402@kama-aina.net> Message-ID: References: <47657715.9020402@kama-aina.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Armin Cc: qemu-devel@nongnu.org Hi, On Sun, 16 Dec 2007, Armin wrote: > This may be one way to simulate switch or jumper settings one may change > on a board before booting. It uses a simple text file for input. The > file name is pointed to by -config on the command line. > > example: > config file: > [switches] > 7:on > [jumpers] I find this format utterly ugly. You have sections like INI files, but then refuse to keep to that format. Besides, I fail to see why this has to be a config file? All other settings are command line switches and/or monitor settings, and there is no good reason why switches and jumpers should not be handled that way. Ciao, Dscho