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: Paolo Bonzini
Subject: Re: [Qemu-devel] [qapi] Cannot use list of strings
Date: Tue, 16 Apr 2013 10:54:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 16/04/2013 10:49, Stefan Hajnoczi ha scritto:
>> > 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?
> akong just hit this too.
> 
> I think it's a question for aliguori, luiz, or mdroth.

Laszlo defined and used String for this purpose:

##
# @String
#
# A fat type wrapping 'str', to be embedded in lists.
#
# Since 1.2
##
{ 'type': 'String',
  'data': {
    'str': 'str' } }


Paolo



reply via email to

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