qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [qapi] Cannot use list of strings


From: Lluís Vilanova
Subject: Re: [Qemu-devel] [qapi] Cannot use list of strings
Date: Mon, 15 Apr 2013 23:07:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Lluís Vilanova writes:

> Tried using a list of strings as an argument to a command, but the generated
> 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=/blah.so,arg=a1,arg=a2

Or just:

    qemu -instr file=/blah.so,args=a1,a2


As it seems, QEMU's option parsing has no routine that I could find to perform
this (it also looks like it's not possible to escape commas).


Thanks,
  Lluis

-- 
 "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



reply via email to

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