Lines Matching +full:auto +full:- +full:detects

1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
8 { 'include': 'block-core.json' }
38 # @default-value: the default value, if any (since 5.0)
46 '*default-value': 'any' } }
49 # @qom-list:
54 # @path: the path within the object model. See @qom-get for a
62 # .. qmp-example::
64 # -> { "execute": "qom-list",
66 # <- { "return": [ { "name": "type", "type": "string" },
67 # { "name": "parallel0", "type": "child<chardev-vc>" },
68 # { "name": "serial0", "type": "child<chardev-vc>" },
69 # { "name": "mon0", "type": "child<chardev-stdio>" } ] }
71 { 'command': 'qom-list',
74 'allow-preconfig': true }
77 # @qom-get:
83 # supported paths--absolute and partial paths.
107 # .. qmp-example::
110 # -> { "execute": "qom-get",
113 # <- { "return": false }
115 # .. qmp-example::
118 # -> { "execute": "qom-get",
121 # <- { "return": "System" }
123 { 'command': 'qom-get',
126 'allow-preconfig': true }
129 # @qom-set:
133 # @path: see @qom-get for a description of this parameter
138 # See @qom-get for a description of type mapping.
142 # .. qmp-example::
144 # -> { "execute": "qom-set",
148 # <- { "return": {} }
150 { 'command': 'qom-set',
152 'allow-preconfig': true }
157 # This structure describes a search result from @qom-list-types
172 # @qom-list-types:
186 { 'command': 'qom-list-types',
189 'allow-preconfig': true }
192 # @qom-list-properties:
206 { 'command': 'qom-list-properties',
209 'allow-preconfig': true }
214 # Properties for can-host-socketcan objects.
218 # @canbus: object ID of the can-bus object to connect to the host
231 # Properties for colo-compare objects.
245 # communicate with the remote colo-frame (only for Xen COLO)
251 # @expired_scan_cycle: the interval at which colo-compare checks
279 # Properties for cryptodev-backend and cryptodev-backend-builtin
283 # for cryptodev-backend and must be 1 for
284 # cryptodev-backend-builtin. (default: 1)
286 # @throttle-bps: limit total bytes per second (Since 8.0)
288 # @throttle-ops: limit total operations per second (Since 8.0)
294 '*throttle-bps': 'uint64',
295 '*throttle-ops': 'uint64' } }
300 # Properties for cryptodev-vhost-user objects.
303 # connects to the vhost-user server
315 # Properties for dbus-vmstate objects.
319 # @id-list: a comma separated list of DBus IDs of helpers whose data
326 '*id-list': 'str' } }
379 # Properties for filter-buffer objects.
381 # @interval: a non-zero interval in microseconds. All packets
394 # Properties for filter-dump objects.
411 # Properties for filter-mirror objects.
429 # Properties for filter-redirector objects.
454 # Properties for filter-rewriter objects.
468 # Properties for input-barrier objects.
477 # @x-origin: x coordinate of the leftmost pixel on the guest screen
480 # @y-origin: y coordinate of the topmost pixel on the guest screen
493 '*x-origin': 'str',
494 '*y-origin': 'str',
501 # Properties for input-linux objects.
508 # @repeat: enables auto-repeat events (default: false)
510 # @grab-toggle: the key or key combination that toggles device grab
511 # (default: ctrl-ctrl)
519 '*grab-toggle': 'GrabToggleKeys' },
527 # @aio-max-batch: maximum number of requests in a batch for the AIO
531 # @thread-pool-min: minimum number of threads reserved in the thread
534 # @thread-pool-max: maximum number of threads the thread pool can
540 'data': { '*aio-max-batch': 'int',
541 '*thread-pool-min': 'int',
542 '*thread-pool-max': 'int' } }
549 # @poll-max-ns: the maximum number of nanoseconds to busy wait for
553 # @poll-grow: the multiplier used to increase the polling time when
554 # the algorithm detects it is missing events due to not polling
557 # @poll-shrink: the divisor used to decrease the polling time when the
558 # algorithm detects it is spending too long polling without
561 # The @aio-max-batch option is available since 6.1.
567 'data': { '*poll-max-ns': 'int',
568 '*poll-grow': 'int',
569 '*poll-shrink': 'int' } }
574 # Properties for the main-loop object.
585 # Properties for objects of classes derived from memory-backend.
593 # @host-nodes: the list of NUMA host nodes to bind the memory to
599 # @prealloc-threads: number of CPU threads to use for prealloc
602 # @prealloc-context: thread context to use for creation of
606 # shared (default false for backends memory-backend-file and
607 # memory-backend-ram, true for backends memory-backend-epc,
608 # memory-backend-memfd, and memory-backend-shm)
615 # @x-use-canonical-path-for-ramblock-id: if true, the canonical path
616 # is used for ramblock-id. Disable this for 4.0 machine types or
623 # file mappings -- "not applicable". In contrast, reserve=false
630 '*host-nodes': ['uint16'],
634 '*prealloc-threads': 'uint32',
635 '*prealloc-context': 'str',
639 '*x-use-canonical-path-for-ramblock-id': 'bool' } }
644 # Properties for memory-backend-file objects.
646 # @align: the base address alignment when QEMU mmap(2)s @mem-path.
647 # Some backend stores specified by @mem-path require an alignment
659 # @discard-data: if true, the file contents can be destroyed when QEMU
661 # Note that @discard-data is only an optimization, and QEMU might
665 # @mem-path: the path to either a shared memory or huge page
668 # @pmem: specifies whether the backing file specified by @mem-path is
672 # @readonly: if true, the backing file is opened read-only; if false,
673 # it is opened read-write. (default: false)
680 # writable RAM; if set to 'auto', the value of the @readonly
687 # ROM, and want to set this property to 'off'. (default: auto,
696 '*discard-data': 'bool',
697 'mem-path': 'str',
705 # Properties for memory-backend-memfd objects.
715 # @seal: if true, create a sealed-file, which will block further
730 # Properties for memory-backend-shm objects.
745 # Properties for memory-backend-epc objects.
761 # Properties for pr-manager-helper objects.
790 # Properties for x-remote-object objects.
805 # Properties for x-vfio-user-server objects.
807 # @socket: socket to be used by the libvfio-user library
822 # which represents a pre-opened /dev/iommu. This allows the
835 # Properties for acpi-generic-initiator objects.
837 # @pci-dev: PCI device ID to be associated with the node
844 'data': { 'pci-dev': 'str',
850 # Properties for acpi-generic-port objects.
852 # @pci-bus: QOM path of the PCI bus of the hostbridge associated with
863 # node defines the boundary point between non-discoverable system
883 'data': { 'pci-bus': 'str',
909 # Properties for rng-egd objects.
923 # Properties for rng-random objects.
938 # Properties common to objects that are derivatives of sev-common.
940 # @sev-device: SEV device to use (default: "/dev/sev")
942 # @cbitpos: C-bit location in page table entry (default: 0)
944 # @reduced-phys-bits: number of bits in physical addresses that become
947 # @kernel-hashes: if true, add hashes of kernel/initrd/cmdline to a
948 # designated guest firmware page for measured boot with -kernel
954 'data': { '*sev-device': 'str',
956 'reduced-phys-bits': 'uint32',
957 '*kernel-hashes': 'bool' } }
962 # Properties for sev-guest objects.
964 # @dh-cert-file: guest owners DH certificate (encoded with base64)
966 # @session-file: guest owners session parameters (encoded with base64)
972 # @legacy-vm-type: Use legacy KVM_SEV_INIT KVM interface for creating
977 # versions that rely on legacy KVM_SEV_INIT behavior. 'auto' will
988 'data': { '*dh-cert-file': 'str',
989 '*session-file': 'str',
992 '*legacy-vm-type': 'OnOffAuto' } }
997 # Properties for sev-snp-guest objects. Most of these are direct
1000 # Documentation/arch/x86/amd-memory-encryption.rst, which are in turn
1002 # documented in the SEV-SNP Firmware ABI Specification (Rev 0.9).
1005 # under docs/amd-memory-encryption.
1008 # defined in the SEV-SNP firmware ABI (default: 0x30000)
1010 # @guest-visible-workarounds: 16-byte, base64-encoded blob to report
1011 # hypervisor-defined workarounds, corresponding to the 'GOSVW'
1012 # parameter of the SNP_LAUNCH_START command defined in the SEV-SNP
1013 # firmware ABI (default: all-zero)
1015 # @id-block: 96-byte, base64-encoded blob to provide the 'ID Block'
1017 # SEV-SNP firmware ABI (default: all-zero)
1019 # @id-auth: 4096-byte, base64-encoded blob to provide the 'ID
1021 # command defined in the SEV-SNP firmware ABI (default: all-zero)
1023 # @author-key-enabled: true if 'id-auth' blob contains the 'AUTHOR_KEY'
1024 # field defined SEV-SNP firmware ABI (default: false)
1026 # @host-data: 32-byte, base64-encoded, user-defined blob to provide to
1028 # SNP_LAUNCH_FINISH command in the SEV-SNP firmware ABI (default:
1029 # all-zero)
1031 # @vcek-disabled: Guests are by default allowed to choose between VLEK
1043 '*guest-visible-workarounds': 'str',
1044 '*id-block': 'str',
1045 '*id-auth': 'str',
1046 '*author-key-enabled': 'bool',
1047 '*host-data': 'str',
1048 '*vcek-disabled': 'bool' } }
1055 # @cpu-affinity: the list of host CPU numbers used as CPU affinity for
1059 # @node-affinity: the list of host node numbers that will be resolved
1062 # to the host nodes manually by setting @cpu-affinity.
1068 'data': { '*cpu-affinity': ['uint16'],
1069 '*node-affinity': ['uint16'] } }
1077 # @unstable: Members @x-remote-object and @x-vfio-user-server are
1084 'acpi-generic-initiator',
1085 'acpi-generic-port',
1086 'authz-list',
1087 'authz-listfile',
1088 'authz-pam',
1089 'authz-simple',
1090 'can-bus',
1091 { 'name': 'can-host-socketcan',
1093 'colo-compare',
1094 'cryptodev-backend',
1095 'cryptodev-backend-builtin',
1096 'cryptodev-backend-lkcf',
1097 { 'name': 'cryptodev-vhost-user',
1099 'dbus-vmstate',
1100 'filter-buffer',
1101 'filter-dump',
1102 'filter-mirror',
1103 'filter-redirector',
1104 'filter-replay',
1105 'filter-rewriter',
1106 'input-barrier',
1107 { 'name': 'input-linux',
1111 'main-loop',
1112 { 'name': 'memory-backend-epc',
1114 'memory-backend-file',
1115 { 'name': 'memory-backend-memfd',
1117 'memory-backend-ram',
1118 { 'name': 'memory-backend-shm',
1120 'pef-guest',
1121 { 'name': 'pr-manager-helper',
1124 'rng-builtin',
1125 'rng-egd',
1126 { 'name': 'rng-random',
1131 'sev-guest',
1132 'sev-snp-guest',
1133 'thread-context',
1134 's390-pv-guest',
1135 'throttle-group',
1136 'tls-creds-anon',
1137 'tls-creds-psk',
1138 'tls-creds-x509',
1139 'tls-cipher-suites',
1140 { 'name': 'x-remote-object', 'features': [ 'unstable' ] },
1141 { 'name': 'x-vfio-user-server', 'features': [ 'unstable' ] }
1149 # @qom-type: the class name for the object to be created
1156 'base': { 'qom-type': 'ObjectType',
1158 'discriminator': 'qom-type',
1160 'acpi-generic-initiator': 'AcpiGenericInitiatorProperties',
1161 'acpi-generic-port': 'AcpiGenericPortProperties',
1162 'authz-list': 'AuthZListProperties',
1163 'authz-listfile': 'AuthZListFileProperties',
1164 'authz-pam': 'AuthZPAMProperties',
1165 'authz-simple': 'AuthZSimpleProperties',
1166 'can-host-socketcan': { 'type': 'CanHostSocketcanProperties',
1168 'colo-compare': 'ColoCompareProperties',
1169 'cryptodev-backend': 'CryptodevBackendProperties',
1170 'cryptodev-backend-builtin': 'CryptodevBackendProperties',
1171 'cryptodev-backend-lkcf': 'CryptodevBackendProperties',
1172 'cryptodev-vhost-user': { 'type': 'CryptodevVhostUserProperties',
1174 'dbus-vmstate': 'DBusVMStateProperties',
1175 'filter-buffer': 'FilterBufferProperties',
1176 'filter-dump': 'FilterDumpProperties',
1177 'filter-mirror': 'FilterMirrorProperties',
1178 'filter-redirector': 'FilterRedirectorProperties',
1179 'filter-replay': 'NetfilterProperties',
1180 'filter-rewriter': 'FilterRewriterProperties',
1181 'input-barrier': 'InputBarrierProperties',
1182 'input-linux': { 'type': 'InputLinuxProperties',
1186 'main-loop': 'MainLoopProperties',
1187 'memory-backend-epc': { 'type': 'MemoryBackendEpcProperties',
1189 'memory-backend-file': 'MemoryBackendFileProperties',
1190 'memory-backend-memfd': { 'type': 'MemoryBackendMemfdProperties',
1192 'memory-backend-ram': 'MemoryBackendProperties',
1193 'memory-backend-shm': { 'type': 'MemoryBackendShmProperties',
1195 'pr-manager-helper': { 'type': 'PrManagerHelperProperties',
1198 'rng-builtin': 'RngProperties',
1199 'rng-egd': 'RngEgdProperties',
1200 'rng-random': { 'type': 'RngRandomProperties',
1205 'sev-guest': 'SevGuestProperties',
1206 'sev-snp-guest': 'SevSnpGuestProperties',
1207 'thread-context': 'ThreadContextProperties',
1208 'throttle-group': 'ThrottleGroupProperties',
1209 'tls-creds-anon': 'TlsCredsAnonProperties',
1210 'tls-creds-psk': 'TlsCredsPskProperties',
1211 'tls-creds-x509': 'TlsCredsX509Properties',
1212 'tls-cipher-suites': 'TlsCredsProperties',
1213 'x-remote-object': 'RemoteObjectProperties',
1214 'x-vfio-user-server': 'VfioUserServerProperties'
1218 # @object-add:
1223 # - Error if @qom-type is not a valid class name
1227 # .. qmp-example::
1229 # -> { "execute": "object-add",
1230 # "arguments": { "qom-type": "rng-random", "id": "rng1",
1232 # <- { "return": {} }
1234 { 'command': 'object-add', 'data': 'ObjectOptions', 'boxed': true,
1235 'allow-preconfig': true }
1238 # @object-del:
1245 # - Error if @id is not a valid id for a QOM object
1249 # .. qmp-example::
1251 # -> { "execute": "object-del", "arguments": { "id": "rng1" } }
1252 # <- { "return": {} }
1254 { 'command': 'object-del', 'data': {'id': 'str'},
1255 'allow-preconfig': true }