[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
- [Qemu-devel] [qapi] Cannot use list of strings, Lluís Vilanova, 2013/04/15
- Re: [Qemu-devel] [qapi] Cannot use list of strings, Lluís Vilanova, 2013/04/15
- Re: [Qemu-devel] [qapi] Cannot use list of strings, Stefan Hajnoczi, 2013/04/16
- Re: [Qemu-devel] [qapi] Cannot use list of strings, mdroth, 2013/04/16
- Re: [Qemu-devel] [qapi] Cannot use list of strings, Amos Kong, 2013/04/17
- [Qemu-devel] [RFC PATCH] qapi: introduce strList and visit_type_strList() (was Re: [qapi] Cannot use list of strings), Amos Kong, 2013/04/19
- [Qemu-devel] [PATCH v2] qapi: add struct strList and visit_type_strList(), Amos Kong, 2013/04/24
- Re: [Qemu-devel] [PATCH v2] qapi: add struct strList and visit_type_strList(), Paolo Bonzini, 2013/04/24
- Re: [Qemu-devel] [PATCH v2] qapi: add struct strList and visit_type_strList(), Amos Kong, 2013/04/24
- Re: [Qemu-devel] [PATCH v2] qapi: add struct strList and visit_type_strList(), mdroth, 2013/04/24