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: Fri, 17 Apr 2015 20:45:50 +0300

> On 16 Apr 2015, at 12:27, Leon Alrae <address@hidden> wrote:
> 
> ... I believe it would be much easier if you sent the patches first

I just did this.

> On 16 Apr 2015, at 17:22, Peter Maydell <address@hidden> wrote:

> it is nothing like
> the way QEMU's system-emulator mode handles other command line
> arguments.

generally passing an entire command line has little to do with passing singular 
command line arguments.

there are many unix programs that use this mechanism (for example the well 
known xargs) and most shells have special support for this with address@hidden

> This has the comma-escaping ugliness, of course, but if you're
> providing a GUI for users anyway it's trivial for the GUI to
> comma-escape things.

the Eclipse plug-in might do this, but try to do the same in multi-platform 
shell scripts used to run unit tests and you'll see how complicated things 
become.

this solution was the only one which met my requirements, and I currently do 
not see any disadvantages of using it in the system-emulator mode.


regards,

Liviu






reply via email to

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