From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URqd5-0001My-Re for qemu-devel@nongnu.org; Mon, 15 Apr 2013 17:08:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URqd5-0003rN-0E for qemu-devel@nongnu.org; Mon, 15 Apr 2013 17:07:59 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:59457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URqd4-0003qr-LY for qemu-devel@nongnu.org; Mon, 15 Apr 2013 17:07:58 -0400 Received: from gw.ac.upc.edu (gw.ac.upc.es [147.83.30.3]) by roura.ac.upc.es (8.13.8/8.13.8) with ESMTP id r3FL7vMm030003 for ; Mon, 15 Apr 2013 23:07:57 +0200 Received: from localhost (unknown [84.88.51.85]) by gw.ac.upc.edu (Postfix) with ESMTP id AA3D66B01CB for ; Mon, 15 Apr 2013 23:07:56 +0200 (CEST) From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <8738urblx3.fsf@fimbulvetr.bsc.es> Date: Mon, 15 Apr 2013 23:07:56 +0200 In-Reply-To: <8738urblx3.fsf@fimbulvetr.bsc.es> (=?utf-8?Q?=22Llu=C3=ADs?= Vilanova"'s message of "Mon, 15 Apr 2013 22:04:24 +0200") Message-ID: <87obdfa4er.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [qapi] Cannot use list of strings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Llu=C3=ADs Vilanova writes: > Tried using a list of strings as an argument to a command, but the genera= ted > code references the 'strList' type, which does not exist. > Is a specialized version for "['str']" missing, or should I define my own= type > with a single field of 'str' type? I could also not find some handy code in QEMU to parse the arguments for the instrumentation library. For example: qemu -instr file=3D/blah.so,arg=3Da1,arg=3Da2 Or just: qemu -instr file=3D/blah.so,args=3Da1,a2 As it seems, QEMU's option parsing has no routine that I could find to perf= orm this (it also looks like it's not possible to escape commas). Thanks, Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth