mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-05 02:06:40 +00:00
bdabafc683
Command block_passwd always fails since Commitc01c214b69
"block: remove all encryption handling APIs" (v2.10.0) turned block_passwd into a stub that always fails, and hardcoded encryption_key_missing to false in query-named-block-nodes and query-block. Commitad1324e044
"block: remove 'encryption_key_missing' flag from QAPI" just landed. Complete the cleanup job: remove block_passwd. Cc: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323101951.3686029-1-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
65 lines
2.8 KiB
JSON
65 lines
2.8 KiB
JSON
{ 'pragma': { 'doc-required': true } }
|
|
|
|
# Whitelists to permit QAPI rule violations; think twice before you
|
|
# add to them!
|
|
{ 'pragma': {
|
|
# Commands allowed to return a non-dictionary:
|
|
'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' ],
|
|
'command-returns-exceptions': [
|
|
'human-monitor-command',
|
|
'qom-get',
|
|
'query-tpm-models',
|
|
'query-tpm-types',
|
|
'ringbuf-read' ],
|
|
# Externally visible types whose member names may use uppercase
|
|
'member-name-exceptions': [ # visible in:
|
|
'ACPISlotType', # query-acpi-ospm-status
|
|
'AcpiTableOptions', # -acpitable
|
|
'BlkdebugEvent', # blockdev-add, -blockdev
|
|
'BlkdebugSetStateOptions', # blockdev-add, -blockdev
|
|
'BlockDeviceInfo', # query-block
|
|
'BlockDeviceStats', # query-blockstats
|
|
'BlockDeviceTimedStats', # query-blockstats
|
|
'BlockIOThrottle', # block_set_io_throttle
|
|
'BlockInfo', # query-block
|
|
'BlockdevAioOptions', # blockdev-add, -blockdev
|
|
'BlockdevDriver', # blockdev-add, query-blockstats, ...
|
|
'BlockdevVmdkAdapterType', # blockdev-create (to match VMDK spec)
|
|
'BlockdevVmdkSubformat', # blockdev-create (to match VMDK spec)
|
|
'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
|
|
'ObjectType', # object-add, -object
|
|
'PCIELinkSpeed', # internal only
|
|
'PciBusInfo', # query-pci
|
|
'PciDeviceInfo', # query-pci
|
|
'PciMemoryRegion', # query-pci
|
|
'QKeyCode', # send-key, input-sent-event
|
|
'QapiErrorClass', # QMP error replies
|
|
'SshHostKeyCheckMode', # blockdev-add, -blockdev
|
|
'SysEmuTarget', # query-cpu-fast, query-target
|
|
'UuidInfo', # query-uuid
|
|
'VncClientInfo', # query-vnc, query-vnc-servers, ...
|
|
'X86CPURegister32' # qom-get of x86 CPU properties
|
|
# feature-words, filtered-features
|
|
] } }
|