summaryrefslogtreecommitdiffstats
path: root/qemu/tests/qapi-schema/struct-base-clash.json
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/qapi-schema/struct-base-clash.json')
-rw-r--r--qemu/tests/qapi-schema/struct-base-clash.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu/tests/qapi-schema/struct-base-clash.json b/qemu/tests/qapi-schema/struct-base-clash.json
index f2afc9b6f..11aec80fe 100644
--- a/qemu/tests/qapi-schema/struct-base-clash.json
+++ b/qemu/tests/qapi-schema/struct-base-clash.json
@@ -1,4 +1,5 @@
-# we check for no duplicate keys with base
+# Reject attempts to duplicate QMP members
+# Here, 'name' would have to appear twice on the wire, locally and for base.
{ 'struct': 'Base',
'data': { 'name': 'str' } }
{ 'struct': 'Sub',