<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/qapi-schema/flat-union-invalid-branch-key.out, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/qapi-schema/flat-union-invalid-branch-key.out?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/qapi-schema/flat-union-invalid-branch-key.out?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-09-27T06:23:25+00:00</updated>
<entry>
<title>tests/qapi-schema: Rename flat-union-* test cases to union-*</title>
<updated>2021-09-27T06:23:25+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2021-09-17T14:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8b3b3a16dfca57b7c4e7b8af215aec96880153d7'/>
<id>urn:sha1:8b3b3a16dfca57b7c4e7b8af215aec96880153d7</id>
<content type='text'>
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20210917143134.412106-23-armbru@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com
</content>
</entry>
<entry>
<title>qapi script: check correctness of union</title>
<updated>2014-03-11T13:07:41+00:00</updated>
<author>
<name>Wenchao Xia</name>
</author>
<published>2014-03-05T02:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b86b05ed60d8d49c5770851860d4e6b89c133e7e'/>
<id>urn:sha1:b86b05ed60d8d49c5770851860d4e6b89c133e7e</id>
<content type='text'>
Since line info is remembered as QAPISchema.line now, this patch
uses it as additional info for every expr in QAPISchema inside qapi.py,
then improves error message with it in checking of exprs.

For common union the patch will check whether base is a valid complex
type if specified. For flat union it will check whether base presents,
whether discriminator is found in base, whether the key of every branch
is correct when discriminator is an enum type.

Signed-off-by: Wenchao Xia &lt;wenchaoqemu@gmail.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Luiz Capitulino &lt;lcapitulino@redhat.com&gt;
</content>
</entry>
</feed>
