]> Git Repo - qemu.git/blob - qapi/pragma.json
qapi: Enforce enum member naming rules
[qemu.git] / qapi / pragma.json
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:
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' ],
25     'command-returns-exceptions': [
26         'human-monitor-command',
27         'qom-get',
28         'query-tpm-models',
29         'query-tpm-types',
30         'ringbuf-read' ],
31     # Externally visible types whose member names may use uppercase
32     'member-name-exceptions': [     # visible in:
33         'ACPISlotType',             # query-acpi-ospm-status
34         'AcpiTableOptions',         # -acpitable
35         'BlkdebugEvent',            # blockdev-add, -blockdev
36         'BlkdebugSetStateOptions',  # blockdev-add, -blockdev
37         'BlockDeviceInfo',          # query-block
38         'BlockDeviceStats',         # query-blockstats
39         'BlockDeviceTimedStats',    # query-blockstats
40         'BlockIOThrottle',          # block_set_io_throttle
41         'BlockInfo',                # query-block
42         'BlockdevAioOptions',       # blockdev-add, -blockdev
43         'BlockdevDriver',           # blockdev-add, query-blockstats, ...
44         'BlockdevVmdkAdapterType',  # blockdev-create (to match VMDK spec)
45         'BlockdevVmdkSubformat',    # blockdev-create (to match VMDK spec)
46         'ColoCompareProperties',    # object_add, -object
47         'FilterMirrorProperties',   # object_add, -object
48         'FilterRedirectorProperties', # object_add, -object
49         'FilterRewriterProperties', # object_add, -object
50         'InputLinuxProperties',     # object_add, -object
51         'NetdevTapOptions',         # netdev_add, query-netdev, -netdev
52         'ObjectType',               # object-add, -object
53         'PCIELinkSpeed',            # internal only
54         'PciBusInfo',               # query-pci
55         'PciDeviceInfo',            # query-pci
56         'PciMemoryRegion',          # query-pci
57         'QKeyCode',                 # send-key, input-sent-event
58         'QapiErrorClass',           # QMP error replies
59         'SshHostKeyCheckMode',      # blockdev-add, -blockdev
60         'SysEmuTarget',             # query-cpu-fast, query-target
61         'UuidInfo',                 # query-uuid
62         'VncClientInfo',            # query-vnc, query-vnc-servers, ...
63         'X86CPURegister32'          # qom-get of x86 CPU properties
64                                     # feature-words, filtered-features
65     ] } }
This page took 0.027578 seconds and 4 git commands to generate.