]> git.proxmox.com Git - mirror_qemu.git/blame - qapi/pragma.json
qapi: Generalize command policy checking
[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',
05ebf841
MA
9 'block_resize',
10 'block_set_io_throttle',
11 'client_migrate_info',
12 'device_add',
13 'device_del',
14 'expire_password',
15 'migrate_cancel',
16 'netdev_add',
17 'netdev_del',
18 'qmp_capabilities',
19 'set_link',
20 'set_password',
21 'system_powerdown',
22 'system_reset',
23 'system_wakeup' ],
b86df374 24 'command-returns-exceptions': [
9a9f9099
KW
25 'human-monitor-command',
26 'qom-get',
9a9f9099
KW
27 'query-tpm-models',
28 'query-tpm-types',
29 'ringbuf-read' ],
b48a1033
MA
30 # Externally visible types whose member names may use uppercase
31 'member-name-exceptions': [ # visible in:
32 'ACPISlotType', # query-acpi-ospm-status
5aceeac0 33 'AcpiTableOptions', # -acpitable
407efbf9 34 'BlkdebugEvent', # blockdev-add, -blockdev
5aceeac0
MA
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
407efbf9
MA
41 'BlockdevAioOptions', # blockdev-add, -blockdev
42 'BlockdevDriver', # blockdev-add, query-blockstats, ...
b48a1033
MA
43 'BlockdevVmdkAdapterType', # blockdev-create (to match VMDK spec)
44 'BlockdevVmdkSubformat', # blockdev-create (to match VMDK spec)
5aceeac0
MA
45 'ColoCompareProperties', # object_add, -object
46 'FilterMirrorProperties', # object_add, -object
47 'FilterRedirectorProperties', # object_add, -object
48 'FilterRewriterProperties', # object_add, -object
49 'InputLinuxProperties', # object_add, -object
50 'NetdevTapOptions', # netdev_add, query-netdev, -netdev
407efbf9
MA
51 'ObjectType', # object-add, -object
52 'PCIELinkSpeed', # internal only
5aceeac0
MA
53 'PciBusInfo', # query-pci
54 'PciDeviceInfo', # query-pci
55 'PciMemoryRegion', # query-pci
407efbf9 56 'QKeyCode', # send-key, input-sent-event
b48a1033 57 'QapiErrorClass', # QMP error replies
407efbf9
MA
58 'SshHostKeyCheckMode', # blockdev-add, -blockdev
59 'SysEmuTarget', # query-cpu-fast, query-target
b48a1033 60 'UuidInfo', # query-uuid
5aceeac0 61 'VncClientInfo', # query-vnc, query-vnc-servers, ...
b48a1033
MA
62 'X86CPURegister32' # qom-get of x86 CPU properties
63 # feature-words, filtered-features
9a9f9099 64 ] } }