From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrYDk-0001g1-6c for qemu-devel@nongnu.org; Thu, 20 Nov 2014 15:20:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrYDf-00005A-KY for qemu-devel@nongnu.org; Thu, 20 Nov 2014 15:20:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrYDf-00004x-3P for qemu-devel@nongnu.org; Thu, 20 Nov 2014 15:20:47 -0500 Message-ID: <546E4D19.1080005@redhat.com> Date: Thu, 20 Nov 2014 13:20:41 -0700 From: Eric Blake MIME-Version: 1.0 References: <1416501612-2799-1-git-send-email-ilg@livius.net> <8F93B09E-C41B-4205-92EF-9927A133A3D7@livius.net> In-Reply-To: <8F93B09E-C41B-4205-92EF-9927A133A3D7@livius.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UfGPL8iLAq5Bpfa769gj2esjOUTPFo1hW" Subject: Re: [Qemu-devel] [PATCH v2] Add -semihosting-config ....cmdline=string. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liviu Ionescu , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UfGPL8iLAq5Bpfa769gj2esjOUTPFo1hW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/20/2014 01:13 PM, Liviu Ionescu wrote: >=20 > On 20 Nov 2014, at 18:40, Liviu Ionescu wrote: >=20 >> A new sub-option was added to -semihosting-config to define the entire= >> semihosting command line (cmdline=3Dstring). >=20 > unfortunately the use of a sub-option is not appropriate, the command l= ine 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. >=20 > for example=20 >=20 > -semihosting-config target=3Dnative,cmdline=3D"MessageTest --gtest_out= put=3Dxml:gcm.xml,baburiba"=20 Instead, try: -semihosting-config target=3Dnative,cmdline=3D"MessageTest --gtest_output=3Dxml:gcm.xml,,baburiba" --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --UfGPL8iLAq5Bpfa769gj2esjOUTPFo1hW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUbk0ZAAoJEKeha0olJ0Nqs6cIAIFSu5CYStXWppQRiEBbEK+u O6OsuHO2+wVuYfBZPweZgy1d8lqALIaZYq7S/FwaM6zkvX3E86DFZeqBqgK6D7K0 cpSZegbrulB+5PXThu3xT63ZlExcELgEJKiEJiMgIyNaYFXoGpd78TWw7QPgqrYT NN2lYm8YqbeL0E54ejeMzRY7wZVhPKikVk3h5GUzLkpg5i1soQVPgCsduzEXBVLt GVW1LG1ONIVWqLqlGGaeabqB7M/+NUed0AY0Wk7Y3FRX2VeYSPOdloLhyTPUSSEi L4WlwoQ1tYhYUkiIxhkzpapUBGWHMDTYwf4aISRrDLrMCYSb7AjUEra8CywydPw= =mMsq -----END PGP SIGNATURE----- --UfGPL8iLAq5Bpfa769gj2esjOUTPFo1hW--