qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Patch 1/2] switch support v2


From: Laurent Vivier
Subject: Re: [Qemu-devel] [Patch 1/2] switch support v2
Date: Mon, 17 Dec 2007 19:17:02 +0100

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
> 
> 
> 
> 
-- 
----------------- address@hidden  ------------------
  "La perfection est atteinte non quand il ne reste rien à
ajouter mais quand il ne reste rien à enlever." Saint Exupéry

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

[Prev in Thread] Current Thread [Next in Thread]