<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/qapi-schema/flat-union-reverse-define.err, 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-reverse-define.err?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/qapi-schema/flat-union-reverse-define.err?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2015-10-15T06:39:07+00:00</updated>
<entry>
<title>qapi: Drop redundant flat-union-reverse-define test</title>
<updated>2015-10-15T06:39:07+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2015-10-13T04:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=70478cef837e86b1cff08073153081ce480e0e6c'/>
<id>urn:sha1:70478cef837e86b1cff08073153081ce480e0e6c</id>
<content type='text'>
As of commit 8c3f8e77, we test compilation of forward references
for a struct base type (UserDefOne), flat union base type
(UserDefUnionBase), and flat union branch type
(UserDefFlatUnion2). The only remaining forward reference being
tested for parsing in flat-union-reverse-define was a forward
enum declaration.  Once we make sure that always compiles,
the smaller parse-only test is redundant and can be deleted.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;1444710158-8723-7-git-send-email-eblake@redhat.com&gt;
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>qapi script: support enum type as discriminator in union</title>
<updated>2014-03-11T13:07:42+00:00</updated>
<author>
<name>Wenchao Xia</name>
</author>
<published>2014-03-07T01:08:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bceae7697ff1711675c26f715b945737bc6849ae'/>
<id>urn:sha1:bceae7697ff1711675c26f715b945737bc6849ae</id>
<content type='text'>
By default, any union will automatically generate a enum type as
"[UnionName]Kind" in C code, and it is duplicated when the discriminator
is specified as a pre-defined enum type in schema. After this patch,
the pre-defined enum type will be really used as the switch case
condition in generated C code, if discriminator is an enum field.

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>
