qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH] vl.c: add -semihosting-config "arg" sub-arg


From: Liviu Ionescu
Subject: Re: [Qemu-devel] [RFC PATCH] vl.c: add -semihosting-config "arg" sub-argument
Date: Wed, 15 Apr 2015 15:06:36 +0300

> On 15 Apr 2015, at 14:53, Leon Alrae <address@hidden> wrote:
> 
> On 15/04/2015 10:09, Liviu Ionescu wrote:
>> Peter/Leon,
>> 
>> I'm planning for my future releases, and, to avoid incompatible versions, I 
>> would like to help with the semihosting configuration issue, to speed up 
>> things. is there any chance to close this issue in the near future?
> 
> I'm hoping so :) I'm holding up UHI patches respin until we resolve this.

how do you suggest we should proceed?

>> we currently have two solutions:
>> 
>> - multiple: --semihosting-config arg="..." 
>> - a single option, placed at the end, and followed by any number of 
>> arguments: --semihosting-cmdline $@ \n
>> 
>> both can generate the array of args required by UHI and both can pass args 
>> with spaces.
>> 
>> the second one is more scripting friendly, and is somehow in the spirit of 
>> other unix programs that need to pass such arguments.
> 
> I don't have a strong preference here, but I think I would be leaning
> towards the second one as it just looks better. On the other hand it
> reserves the last position in the QEMU command line, which I'm not sure
> if can become a problem at some point?

do you have anything specific in mind? I don't know qemu very well, but apart 
from setting semihosting and kernel args, I doubt there are other use cases to 
require variable number of arguments. 


regards,

Liviu




reply via email to

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