qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] docs/qapi-code-gen.txt: Fix simple union introspection example
@ 2016-01-14 15:13 Markus Armbruster
  2016-01-14 16:39 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Armbruster @ 2016-01-14 15:13 UTC (permalink / raw)
  To: qemu-devel

The implicit tag member is named "type", not "kind".  Screwed up in
commit 39a1815.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 docs/qapi-code-gen.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
index 128f074..b11fa68 100644
--- a/docs/qapi-code-gen.txt
+++ b/docs/qapi-code-gen.txt
@@ -655,7 +655,7 @@ Union types
 
     { "name": "BlockdevOptions", "meta-type": "object",
       "members": [
-          { "name": "kind", "type": "BlockdevOptionsKind" } ],
+          { "name": "type", "type": "BlockdevOptionsKind" } ],
       "tag": "type",
       "variants": [
           { "case": "file", "type": ":obj-FileOptions-wrapper" },
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-15  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 15:13 [Qemu-devel] [PATCH] docs/qapi-code-gen.txt: Fix simple union introspection example Markus Armbruster
2016-01-14 16:39 ` Eric Blake
2016-01-15  9:25   ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).