From: Laurent Vivier <Laurent.Vivier@bull.net>
To: qemu-devel@nongnu.org
Cc: Armin <akuster@kama-aina.net>
Subject: Re: [Qemu-devel] [Patch 1/2] switch support v2
Date: Mon, 17 Dec 2007 19:17:02 +0100 [thread overview]
Message-ID: <1197915422.17512.3.camel@frecb07144> (raw)
In-Reply-To: <4766B205.50204@kama-aina.net>
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
Hi,
if you just want to configure which bank to use with pflash, perhaps you
can do something like:
qemu -drive if=pflash,unit=0
to use the first bank, and
qemu -drive if=pflash,unit=1
to use the second bank.
Laurent
Le lundi 17 décembre 2007 à 07:29 -1000, Armin a écrit :
> Johannes Schindelin wrote:
> > 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 <path to file> on the command line.
> >>
> >> example:
> >> config file:
> >> [switches]
> >> 7:on
> >> [jumpers]
> >>
> >
> > I find this format utterly ugly.
> I can only make it better then : )
> > 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?
> It can be named anything , I suppose "switch"would be better
> > 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.
> >
> Do you mean something like -sw or -jp?
>
> regards,
> -Armin
>
>
>
>
--
----------------- Laurent.Vivier@bull.net ------------------
"La perfection est atteinte non quand il ne reste rien à
ajouter mais quand il ne reste rien à enlever." Saint Exupéry
[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-12-17 18:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-16 19:05 [Qemu-devel] [Patch 1/2] switch support v2 Armin
2007-12-17 10:27 ` Johannes Schindelin
2007-12-17 17:29 ` Armin
2007-12-17 18:07 ` Johannes Schindelin
2007-12-17 18:17 ` Laurent Vivier [this message]
2007-12-17 19:40 ` Armin
2007-12-17 20:00 ` Laurent Vivier
2007-12-18 18:40 ` Armin
2007-12-18 22:31 ` Laurent Vivier
2007-12-18 23:10 ` Armin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1197915422.17512.3.camel@frecb07144 \
--to=laurent.vivier@bull.net \
--cc=akuster@kama-aina.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).