[yocto] Add extra parameters for qemu script

Richard Purdie rpurdie at linux.intel.com
Fri Dec 10 05:34:38 PST 2010


On Thu, 2010-12-09 at 12:44 -0800, Garman, Scott A wrote:
> However, one thing I feel the need to run by Richard, as he expressed 
> some preferences with how the poky-qemu script would work with regard to 
> options.
> 
> Richard: Criping's patch would remove the standalone options we had to 
> the poky-qemu script (e.g, nographic, serial) and instead requires the 
> user to specify them in one command option which can take any qemu 
> command switch.
> 
> So for example:
> 
> poky-qemu qemux86 nographic
> 
> would become:
> 
> poky-qemu qemux86 "<-nographic>"
> 
> The benefit of this is that this allows the user to specify any qemu 
> option they wish. Previously they were limited by the options we allowed 
> them to specify (which were quite limited).
> 
> I tend to feel that this approach is more flexible, and scales better 
> than having to support each and every qemu option with our own script 
> syntax. Is this acceptable, or should we continue to support our own 
> custom options in addition to Criping's new approach?

My gut feeling is that having some simplified way to trigger possibly
complex option combinations is still desirable but adding a way to pass
additional custom commandline is equally good. This gives us the maximum
flexibility moving forwards but keeps the script easy to use?

Cheers,

Richard




More information about the yocto mailing list