2022-03-25 23:16:05 +01:00
|
|
|
# -*- Mode: Python -*-
|
|
|
|
# vim: filetype=python
|
|
|
|
|
2020-02-24 15:30:03 +01:00
|
|
|
{ 'pragma': { 'doc-required': true } }
|
|
|
|
|
|
|
|
# Whitelists to permit QAPI rule violations; think twice before you
|
|
|
|
# add to them!
|
|
|
|
{ 'pragma': {
|
2022-05-10 10:14:33 +02:00
|
|
|
# Command names containing '_'
|
2021-03-23 10:40:21 +01:00
|
|
|
'command-name-exceptions': [
|
|
|
|
'add_client',
|
|
|
|
'block_resize',
|
|
|
|
'block_set_io_throttle',
|
|
|
|
'client_migrate_info',
|
|
|
|
'device_add',
|
|
|
|
'device_del',
|
|
|
|
'expire_password',
|
|
|
|
'migrate_cancel',
|
|
|
|
'netdev_add',
|
|
|
|
'netdev_del',
|
|
|
|
'qmp_capabilities',
|
|
|
|
'set_link',
|
|
|
|
'set_password',
|
|
|
|
'system_powerdown',
|
|
|
|
'system_reset',
|
|
|
|
'system_wakeup' ],
|
2022-05-10 10:14:33 +02:00
|
|
|
# Commands allowed to return a non-dictionary
|
2021-03-23 10:40:16 +01:00
|
|
|
'command-returns-exceptions': [
|
2020-02-24 15:30:03 +01:00
|
|
|
'human-monitor-command',
|
|
|
|
'qom-get',
|
|
|
|
'query-tpm-models',
|
|
|
|
'query-tpm-types',
|
|
|
|
'ringbuf-read' ],
|
2021-03-23 10:40:17 +01:00
|
|
|
# Externally visible types whose member names may use uppercase
|
|
|
|
'member-name-exceptions': [ # visible in:
|
|
|
|
'ACPISlotType', # query-acpi-ospm-status
|
2021-03-23 10:40:23 +01:00
|
|
|
'AcpiTableOptions', # -acpitable
|
2021-03-23 10:40:24 +01:00
|
|
|
'BlkdebugEvent', # blockdev-add, -blockdev
|
2021-03-23 10:40:23 +01:00
|
|
|
'BlkdebugSetStateOptions', # blockdev-add, -blockdev
|
|
|
|
'BlockDeviceInfo', # query-block
|
|
|
|
'BlockDeviceStats', # query-blockstats
|
|
|
|
'BlockDeviceTimedStats', # query-blockstats
|
|
|
|
'BlockIOThrottle', # block_set_io_throttle
|
|
|
|
'BlockInfo', # query-block
|
2021-03-23 10:40:24 +01:00
|
|
|
'BlockdevAioOptions', # blockdev-add, -blockdev
|
|
|
|
'BlockdevDriver', # blockdev-add, query-blockstats, ...
|
2021-03-23 10:40:17 +01:00
|
|
|
'BlockdevVmdkAdapterType', # blockdev-create (to match VMDK spec)
|
|
|
|
'BlockdevVmdkSubformat', # blockdev-create (to match VMDK spec)
|
2021-03-23 10:40:23 +01:00
|
|
|
'ColoCompareProperties', # object_add, -object
|
|
|
|
'FilterMirrorProperties', # object_add, -object
|
|
|
|
'FilterRedirectorProperties', # object_add, -object
|
|
|
|
'FilterRewriterProperties', # object_add, -object
|
|
|
|
'InputLinuxProperties', # object_add, -object
|
|
|
|
'NetdevTapOptions', # netdev_add, query-netdev, -netdev
|
2021-03-23 10:40:24 +01:00
|
|
|
'ObjectType', # object-add, -object
|
|
|
|
'PCIELinkSpeed', # internal only
|
2021-03-23 10:40:23 +01:00
|
|
|
'PciBusInfo', # query-pci
|
|
|
|
'PciDeviceInfo', # query-pci
|
|
|
|
'PciMemoryRegion', # query-pci
|
2021-03-23 10:40:24 +01:00
|
|
|
'QKeyCode', # send-key, input-sent-event
|
2021-03-23 10:40:17 +01:00
|
|
|
'QapiErrorClass', # QMP error replies
|
2021-03-23 10:40:24 +01:00
|
|
|
'SshHostKeyCheckMode', # blockdev-add, -blockdev
|
|
|
|
'SysEmuTarget', # query-cpu-fast, query-target
|
2021-03-23 10:40:17 +01:00
|
|
|
'UuidInfo', # query-uuid
|
2021-03-23 10:40:23 +01:00
|
|
|
'VncClientInfo', # query-vnc, query-vnc-servers, ...
|
2021-03-23 10:40:17 +01:00
|
|
|
'X86CPURegister32' # qom-get of x86 CPU properties
|
|
|
|
# feature-words, filtered-features
|
2020-02-24 15:30:03 +01:00
|
|
|
] } }
|