]>
Commit | Line | Data |
---|---|---|
8a84767c MA |
1 | object q_empty |
2 | enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] | |
3 | prefix QTYPE | |
cf40a0a5 | 4 | module qapi-schema-test.json |
8a84767c MA |
5 | object TestStruct |
6 | member integer: int optional=False | |
7 | member boolean: bool optional=False | |
156402e5 | 8 | member string: str optional=False |
156402e5 MA |
9 | object NestedEnumsOne |
10 | member enum1: EnumOne optional=False | |
11 | member enum2: EnumOne optional=True | |
12 | member enum3: EnumOne optional=False | |
13 | member enum4: EnumOne optional=True | |
8a84767c MA |
14 | enum MyEnum [] |
15 | object Empty1 | |
16 | object Empty2 | |
17 | base Empty1 | |
18 | command user_def_cmd0 Empty2 -> Empty2 | |
7b13f2c2 | 19 | gen=True success_response=True boxed=False oob=False preconfig=False |
156402e5 MA |
20 | enum QEnumTwo ['value1', 'value2'] |
21 | prefix QENUM_TWO | |
8a84767c MA |
22 | object UserDefOne |
23 | base UserDefZero | |
24 | member string: str optional=False | |
25 | member enum1: EnumOne optional=True | |
26 | enum EnumOne ['value1', 'value2', 'value3'] | |
27 | object UserDefZero | |
748053c9 | 28 | member integer: int optional=False |
8a84767c MA |
29 | object UserDefTwoDictDict |
30 | member userdef: UserDefOne optional=False | |
748053c9 | 31 | member string: str optional=False |
8a84767c MA |
32 | object UserDefTwoDict |
33 | member string1: str optional=False | |
34 | member dict2: UserDefTwoDictDict optional=False | |
35 | member dict3: UserDefTwoDictDict optional=True | |
36 | object UserDefTwo | |
37 | member string0: str optional=False | |
38 | member dict1: UserDefTwoDict optional=False | |
39 | object ForceArrays | |
40 | member unused1: UserDefOneList optional=False | |
41 | member unused2: UserDefTwoList optional=False | |
42 | member unused3: TestStructList optional=False | |
156402e5 MA |
43 | object UserDefA |
44 | member boolean: bool optional=False | |
d220fbcd | 45 | member a_b: int optional=True |
156402e5 MA |
46 | object UserDefB |
47 | member intb: int optional=False | |
d220fbcd | 48 | member a-b: bool optional=True |
156402e5 MA |
49 | object UserDefFlatUnion |
50 | base UserDefUnionBase | |
51 | tag enum1 | |
52 | case value1: UserDefA | |
53 | case value2: UserDefB | |
54 | case value3: UserDefB | |
8a84767c MA |
55 | object UserDefUnionBase |
56 | base UserDefZero | |
57 | member string: str optional=False | |
58 | member enum1: EnumOne optional=False | |
59 | object q_obj_UserDefFlatUnion2-base | |
60 | member integer: int optional=True | |
61 | member string: str optional=False | |
62 | member enum1: QEnumTwo optional=False | |
156402e5 | 63 | object UserDefFlatUnion2 |
ac4338f8 | 64 | base q_obj_UserDefFlatUnion2-base |
156402e5 MA |
65 | tag enum1 |
66 | case value1: UserDefC | |
67 | case value2: UserDefB | |
8a84767c MA |
68 | object WrapAlternate |
69 | member alt: UserDefAlternate optional=False | |
70 | alternate UserDefAlternate | |
71 | tag type | |
72 | case udfu: UserDefFlatUnion | |
73 | case e: EnumOne | |
74 | case i: int | |
75 | case n: null | |
76 | object UserDefC | |
77 | member string1: str optional=False | |
78 | member string2: str optional=False | |
79 | alternate AltEnumBool | |
80 | tag type | |
81 | case e: EnumOne | |
82 | case b: bool | |
83 | alternate AltEnumNum | |
84 | tag type | |
85 | case e: EnumOne | |
86 | case n: number | |
87 | alternate AltNumEnum | |
88 | tag type | |
89 | case n: number | |
90 | case e: EnumOne | |
91 | alternate AltEnumInt | |
92 | tag type | |
93 | case e: EnumOne | |
94 | case i: int | |
95 | alternate AltStrObj | |
96 | tag type | |
97 | case s: str | |
98 | case o: TestStruct | |
99 | object q_obj_intList-wrapper | |
100 | member data: intList optional=False | |
101 | object q_obj_int8List-wrapper | |
102 | member data: int8List optional=False | |
103 | object q_obj_int16List-wrapper | |
104 | member data: int16List optional=False | |
105 | object q_obj_int32List-wrapper | |
106 | member data: int32List optional=False | |
107 | object q_obj_int64List-wrapper | |
108 | member data: int64List optional=False | |
109 | object q_obj_uint8List-wrapper | |
110 | member data: uint8List optional=False | |
111 | object q_obj_uint16List-wrapper | |
112 | member data: uint16List optional=False | |
113 | object q_obj_uint32List-wrapper | |
114 | member data: uint32List optional=False | |
115 | object q_obj_uint64List-wrapper | |
116 | member data: uint64List optional=False | |
117 | object q_obj_numberList-wrapper | |
118 | member data: numberList optional=False | |
119 | object q_obj_boolList-wrapper | |
120 | member data: boolList optional=False | |
121 | object q_obj_strList-wrapper | |
122 | member data: strList optional=False | |
123 | object q_obj_sizeList-wrapper | |
124 | member data: sizeList optional=False | |
125 | object q_obj_anyList-wrapper | |
126 | member data: anyList optional=False | |
127 | enum UserDefNativeListUnionKind ['integer', 's8', 's16', 's32', 's64', 'u8', 'u16', 'u32', 'u64', 'number', 'boolean', 'string', 'sizes', 'any'] | |
156402e5 | 128 | object UserDefNativeListUnion |
da34a9bd | 129 | member type: UserDefNativeListUnionKind optional=False |
da9cb193 | 130 | tag type |
7599697c EB |
131 | case integer: q_obj_intList-wrapper |
132 | case s8: q_obj_int8List-wrapper | |
133 | case s16: q_obj_int16List-wrapper | |
134 | case s32: q_obj_int32List-wrapper | |
135 | case s64: q_obj_int64List-wrapper | |
136 | case u8: q_obj_uint8List-wrapper | |
137 | case u16: q_obj_uint16List-wrapper | |
138 | case u32: q_obj_uint32List-wrapper | |
139 | case u64: q_obj_uint64List-wrapper | |
140 | case number: q_obj_numberList-wrapper | |
141 | case boolean: q_obj_boolList-wrapper | |
142 | case string: q_obj_strList-wrapper | |
143 | case sizes: q_obj_sizeList-wrapper | |
144 | case any: q_obj_anyList-wrapper | |
8a84767c | 145 | command user_def_cmd None -> None |
7b13f2c2 | 146 | gen=True success_response=True boxed=False oob=False preconfig=False |
8a84767c MA |
147 | object q_obj_user_def_cmd1-arg |
148 | member ud1a: UserDefOne optional=False | |
149 | command user_def_cmd1 q_obj_user_def_cmd1-arg -> None | |
7b13f2c2 | 150 | gen=True success_response=True boxed=False oob=False preconfig=False |
8a84767c MA |
151 | object q_obj_user_def_cmd2-arg |
152 | member ud1a: UserDefOne optional=False | |
153 | member ud1b: UserDefOne optional=True | |
154 | command user_def_cmd2 q_obj_user_def_cmd2-arg -> UserDefTwo | |
7b13f2c2 | 155 | gen=True success_response=True boxed=False oob=False preconfig=False |
8a84767c MA |
156 | object q_obj_guest-get-time-arg |
157 | member a: int optional=False | |
158 | member b: int optional=True | |
159 | command guest-get-time q_obj_guest-get-time-arg -> int | |
7b13f2c2 | 160 | gen=True success_response=True boxed=False oob=False preconfig=False |
8a84767c MA |
161 | object q_obj_guest-sync-arg |
162 | member arg: any optional=False | |
163 | command guest-sync q_obj_guest-sync-arg -> any | |
7b13f2c2 | 164 | gen=True success_response=True boxed=False oob=False preconfig=False |
8a84767c | 165 | command boxed-struct UserDefZero -> None |
7b13f2c2 | 166 | gen=True success_response=True boxed=True oob=False preconfig=False |
8a84767c | 167 | command boxed-union UserDefNativeListUnion -> None |
7b13f2c2 IM |
168 | gen=True success_response=True boxed=True oob=False preconfig=False |
169 | command test-flags-command None -> None | |
170 | gen=True success_response=True boxed=False oob=True preconfig=True | |
156402e5 MA |
171 | object UserDefOptions |
172 | member i64: intList optional=True | |
173 | member u64: uint64List optional=True | |
174 | member u16: uint16List optional=True | |
175 | member i64x: int optional=True | |
176 | member u64x: uint64 optional=True | |
8a84767c MA |
177 | object EventStructOne |
178 | member struct1: UserDefOne optional=False | |
156402e5 | 179 | member string: str optional=False |
8a84767c MA |
180 | member enum2: EnumOne optional=True |
181 | event EVENT_A None | |
48825ca4 | 182 | boxed=False |
8a84767c MA |
183 | event EVENT_B None |
184 | boxed=False | |
185 | object q_obj_EVENT_C-arg | |
186 | member a: int optional=True | |
187 | member b: UserDefOne optional=True | |
188 | member c: str optional=False | |
189 | event EVENT_C q_obj_EVENT_C-arg | |
190 | boxed=False | |
191 | object q_obj_EVENT_D-arg | |
192 | member a: EventStructOne optional=False | |
193 | member b: str optional=False | |
194 | member c: str optional=True | |
195 | member enum3: EnumOne optional=True | |
196 | event EVENT_D q_obj_EVENT_D-arg | |
197 | boxed=False | |
198 | event EVENT_E UserDefZero | |
199 | boxed=True | |
200 | event EVENT_F UserDefAlternate | |
201 | boxed=True | |
202 | enum __org.qemu_x-Enum ['__org.qemu_x-value'] | |
156402e5 MA |
203 | object __org.qemu_x-Base |
204 | member __org.qemu_x-member1: __org.qemu_x-Enum optional=False | |
156402e5 MA |
205 | object __org.qemu_x-Struct |
206 | base __org.qemu_x-Base | |
207 | member __org.qemu_x-member2: str optional=False | |
c43567c1 | 208 | member wchar-t: int optional=True |
8a84767c MA |
209 | object q_obj_str-wrapper |
210 | member data: str optional=False | |
211 | enum __org.qemu_x-Union1Kind ['__org.qemu_x-branch'] | |
156402e5 | 212 | object __org.qemu_x-Union1 |
da34a9bd | 213 | member type: __org.qemu_x-Union1Kind optional=False |
da9cb193 | 214 | tag type |
7599697c | 215 | case __org.qemu_x-branch: q_obj_str-wrapper |
8a84767c MA |
216 | object __org.qemu_x-Struct2 |
217 | member array: __org.qemu_x-Union1List optional=False | |
156402e5 MA |
218 | object __org.qemu_x-Union2 |
219 | base __org.qemu_x-Base | |
220 | tag __org.qemu_x-member1 | |
221 | case __org.qemu_x-value: __org.qemu_x-Struct2 | |
8a84767c MA |
222 | alternate __org.qemu_x-Alt |
223 | tag type | |
224 | case __org.qemu_x-branch: str | |
225 | case b: __org.qemu_x-Base | |
226 | event __ORG.QEMU_X-EVENT __org.qemu_x-Struct | |
227 | boxed=False | |
7599697c EB |
228 | object q_obj___org.qemu_x-command-arg |
229 | member a: __org.qemu_x-EnumList optional=False | |
230 | member b: __org.qemu_x-StructList optional=False | |
231 | member c: __org.qemu_x-Union2 optional=False | |
232 | member d: __org.qemu_x-Alt optional=False | |
8a84767c | 233 | command __org.qemu_x-command q_obj___org.qemu_x-command-arg -> __org.qemu_x-Union1 |
7b13f2c2 | 234 | gen=True success_response=True boxed=False oob=False preconfig=False |