qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 2/2] semihosting: add --semihosting-config ar


From: Liviu Ionescu
Subject: Re: [Qemu-devel] [PATCH v3 2/2] semihosting: add --semihosting-config arg sub-argument
Date: Thu, 21 May 2015 18:24:57 +0300

> On 21 May 2015, at 18:06, Peter Maydell <address@hidden> wrote:
> 
> ...
> That's their choice... It is still an array of substrings,
> but if the user only provides one string then we have an
> array of length 1.

this was my initial point, as long as you offer the choice, you no longer have 
consistent usage between ARM and MIPS, the ARM users will prefer the array of 
length 1.

> ...
> Adding quotes and apostrophes seems wrong to me,
> because it's making assumptions about the guest's
> handling of the semihosting string.

yes, it is making the assumption that the guest code is able to process args 
with embedded spaces. once this accepted, properly parsing the quotes and 
apostrophes is required anyway, so there shouldn't be a big problem.


regards,

Liviu




reply via email to

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