Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to qemu-2.6.
[kvmfornfv.git]
/
qemu
/
tests
/
qapi-schema
/
args-union.json
diff --git a/qemu/tests/qapi-schema/args-union.json
b/qemu/tests/qapi-schema/args-union.json
new file mode 100644
(file)
index 0000000..
7bdcbb7
--- /dev/null
+++ b/
qemu/tests/qapi-schema/args-union.json
@@ -0,0
+1,4
@@
+# we do not allow union arguments
+# TODO should we support this?
+{ 'union': 'Uni', 'data': { 'case1': 'int', 'case2': 'str' } }
+{ 'command': 'oops', 'data': 'Uni' }