]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qapi-schema/reserved-member-u.json
hw/riscv: Validate cluster and NUMA node boundary
[mirror_qemu.git] / tests / qapi-schema / reserved-member-u.json
CommitLineData
5e59baf9
EB
1# Potential C member name collision
2# We reject use of 'u' as a member name, to allow it for internal use in
3# putting union branch members in a separate namespace from QMP members.
4# This is true even for non-unions, because it is possible to convert a
4e99f4b1 5# struct to union while remaining backwards compatible in QMP.
5e59baf9 6# TODO - we could munge the member name to 'q_u' to avoid the collision
73c40b07 7{ 'struct': 'Oops', 'data': { '*u': 'str' } }