Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / qapi-schema / returns-alternate.json
diff --git a/qemu/tests/qapi-schema/returns-alternate.json b/qemu/tests/qapi-schema/returns-alternate.json
new file mode 100644 (file)
index 0000000..972390c
--- /dev/null
@@ -0,0 +1,3 @@
+# we reject returns if it is an alternate type
+{ 'alternate': 'Alt', 'data': { 'a': 'int', 'b': 'str' } }
+{ 'command': 'oops', 'returns': 'Alt' }