]> git.proxmox.com Git - mirror_qemu.git/blame - qapi/pragma.json
qapi: Enforce struct member naming rules
[mirror_qemu.git] / qapi / pragma.json
CommitLineData
9a9f9099
KW
1{ 'pragma': { 'doc-required': true } }
2
3# Whitelists to permit QAPI rule violations; think twice before you
4# add to them!
5{ 'pragma': {
6 # Commands allowed to return a non-dictionary:
05ebf841
MA
7 'command-name-exceptions': [
8 'add_client',
9 'block_passwd',
10 'block_resize',
11 'block_set_io_throttle',
12 'client_migrate_info',
13 'device_add',
14 'device_del',
15 'expire_password',
16 'migrate_cancel',
17 'netdev_add',
18 'netdev_del',
19 'qmp_capabilities',
20 'set_link',
21 'set_password',
22 'system_powerdown',
23 'system_reset',
24 'system_wakeup' ],
b86df374 25 'command-returns-exceptions': [
9a9f9099
KW
26 'human-monitor-command',
27 'qom-get',
9a9f9099
KW
28 'query-tpm-models',
29 'query-tpm-types',
30 'ringbuf-read' ],
b48a1033
MA
31 # Externally visible types whose member names may use uppercase
32 'member-name-exceptions': [ # visible in:
33 'ACPISlotType', # query-acpi-ospm-status
5aceeac0
MA
34 'AcpiTableOptions', # -acpitable
35 'BlkdebugSetStateOptions', # blockdev-add, -blockdev
36 'BlockDeviceInfo', # query-block
37 'BlockDeviceStats', # query-blockstats
38 'BlockDeviceTimedStats', # query-blockstats
39 'BlockIOThrottle', # block_set_io_throttle
40 'BlockInfo', # query-block
b48a1033
MA
41 'BlockdevVmdkAdapterType', # blockdev-create (to match VMDK spec)
42 'BlockdevVmdkSubformat', # blockdev-create (to match VMDK spec)
5aceeac0
MA
43 'ColoCompareProperties', # object_add, -object
44 'FilterMirrorProperties', # object_add, -object
45 'FilterRedirectorProperties', # object_add, -object
46 'FilterRewriterProperties', # object_add, -object
47 'InputLinuxProperties', # object_add, -object
48 'NetdevTapOptions', # netdev_add, query-netdev, -netdev
49 'PciBusInfo', # query-pci
50 'PciDeviceInfo', # query-pci
51 'PciMemoryRegion', # query-pci
b48a1033
MA
52 'QapiErrorClass', # QMP error replies
53 'UuidInfo', # query-uuid
5aceeac0 54 'VncClientInfo', # query-vnc, query-vnc-servers, ...
b48a1033
MA
55 'X86CPURegister32' # qom-get of x86 CPU properties
56 # feature-words, filtered-features
9a9f9099 57 ] } }