[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] Add -semihosting-config ....cmdline=string.
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2] Add -semihosting-config ....cmdline=string. |
Date: |
Thu, 20 Nov 2014 13:20:41 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 11/20/2014 01:13 PM, Liviu Ionescu wrote:
>
> On 20 Nov 2014, at 18:40, Liviu Ionescu <address@hidden> wrote:
>
>> A new sub-option was added to -semihosting-config to define the entire
>> semihosting command line (cmdline=string).
>
> unfortunately the use of a sub-option is not appropriate, the command line
> string must be allowed to include *any* character, including the ',' which is
> not allowed, being used by the parser.
The command line parser explicitly allows ,, as an escape for a literal
comma, rather than a separator between options, for anything converted
to use QemuOpts.
>
> for example
>
> -semihosting-config target=native,cmdline="MessageTest
> --gtest_output=xml:gcm.xml,baburiba"
Instead, try:
-semihosting-config target=native,cmdline="MessageTest
--gtest_output=xml:gcm.xml,,baburiba"
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature