Lines Matching +full:tricore +full:- +full:softmmu
1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
12 { 'include': 'machine-common.json' }
17 # The comprehensive enumeration of QEMU system emulation ("softmmu")
18 # targets. Run "./configure --help" in the project root directory,
19 # and look for the \*-softmmu targets near the "--target-list" option.
30 # "qemu-system-" prefix to produce the corresponding QEMU
31 # executable name. This is true even for "qemu-system-x86_64".
40 'sh4eb', 'sparc', 'sparc64', 'tricore',
52 'data': [ 'uninitialized', 'stopped', 'check-stop', 'operating', 'load' ] }
59 # @cpu-state: the virtual CPU's state
68 'data': { 'cpu-state': 'S390CpuState',
77 # @cpu-index: index of the virtual CPU
79 # @qom-path: path to the CPU object in the QOM tree
81 # @thread-id: ID of the underlying host thread
91 'base' : { 'cpu-index' : 'int',
92 'qom-path' : 'str',
93 'thread-id' : 'int',
100 # @query-cpus-fast:
108 # .. qmp-example::
110 # -> { "execute": "query-cpus-fast" }
111 # <- { "return": [
113 # "thread-id": 25627,
115 # "core-id": 0,
116 # "thread-id": 0,
117 # "socket-id": 0
119 # "qom-path": "/machine/unattached/device[0]",
121 # "cpu-index": 0
124 # "thread-id": 25628,
126 # "core-id": 0,
127 # "thread-id": 0,
128 # "socket-id": 1
130 # "qom-path": "/machine/unattached/device[2]",
132 # "cpu-index": 1
137 { 'command': 'query-cpus-fast', 'returns': [ 'CpuInfoFast' ] }
143 # scripts/compare-machine-types.
145 # @qom-type: name of the QOM type to which the default applies
149 # @value: the default value (machine-specific default can overwrite
150 # the "default" default, to avoid this use -machine none)
155 'data': { 'qom-type': 'str',
168 # @is-default: whether the machine is default
170 # @cpu-max: maximum number of CPUs supported by the machine type
173 # @hotpluggable-cpus: cpu hotplug via -device is supported (since 2.7)
175 # @numa-mem-supported: true if '-numa node,mem' option is supported by
182 # @default-cpu-type: default CPU model typename if none is requested
183 # via the -cpu argument. (since 4.2)
185 # @default-ram-id: the default ID of initial RAM memory backend (since
190 # @compat-props: The machine type's compatibility properties. Only
191 # present when query-machines argument @compat-props is true.
196 # @unstable: Member @compat-props is experimental.
202 '*is-default': 'bool', 'cpu-max': 'int',
203 'hotpluggable-cpus': 'bool', 'numa-mem-supported': 'bool',
204 'deprecated': 'bool', '*default-cpu-type': 'str',
205 '*default-ram-id': 'str', 'acpi': 'bool',
206 '*compat-props': { 'type': ['CompatProperty'],
210 # @query-machines:
214 # @compat-props: if true, also return compatibility properties.
219 # @unstable: Argument @compat-props is experimental.
225 # .. qmp-example::
227 # -> { "execute": "query-machines", "arguments": { "compat-props": true } }
228 # <- { "return": [
230 # "hotpluggable-cpus": true,
231 # "name": "pc-q35-6.2",
232 # "compat-props": [
234 # "qom-type": "virtio-mem",
235 # "property": "unplugged-inaccessible",
239 # "numa-mem-supported": false,
240 # "default-cpu-type": "qemu64-x86_64-cpu",
241 # "cpu-max": 288,
243 # "default-ram-id": "pc.ram"
248 { 'command': 'query-machines',
249 'data': { '*compat-props': { 'type': 'bool',
258 # @wakeup-suspend-support: true if the machine supports wake up from
264 'data': { 'wakeup-suspend-support': 'bool'} }
267 # @query-current-machine:
275 { 'command': 'query-current-machine', 'returns': 'CurrentMachineParams' }
290 # @query-target:
298 { 'command': 'query-target', 'returns': 'TargetInfo' }
315 # @query-uuid:
323 # .. qmp-example::
325 # -> { "execute": "query-uuid" }
326 # <- { "return": { "UUID": "550e8400-e29b-41d4-a716-446655440000" } }
328 { 'command': 'query-uuid', 'returns': 'UuidInfo', 'allow-preconfig': true }
342 # @query-vm-generation-id:
348 { 'command': 'query-vm-generation-id', 'returns': 'GuidInfo' }
357 # .. qmp-example::
359 # -> { "execute": "system_reset" }
360 # <- { "return": {} }
376 # .. qmp-example::
378 # -> { "execute": "system_powerdown" }
379 # <- { "return": {} }
386 # Wake up guest from suspend. If the guest has wake-up from suspend
387 # support enabled (wakeup-suspend-support flag from
388 # query-current-machine), wake-up guest from suspend if the guest is
396 # .. qmp-example::
398 # -> { "execute": "system_wakeup" }
399 # <- { "return": {} }
436 # @inject-nmi:
438 # Injects a Non-Maskable Interrupt into the default CPU (x86/s390) or
447 # .. qmp-example::
449 # -> { "execute": "inject-nmi" }
450 # <- { "return": {} }
452 { 'command': 'inject-nmi' }
468 # @query-kvm:
476 # .. qmp-example::
478 # -> { "execute": "query-kvm" }
479 # <- { "return": { "enabled": true, "present": true } }
481 { 'command': 'query-kvm', 'returns': 'KvmInfo' }
492 # @hmat-lb: memory latency and bandwidth information (Since: 5.0)
494 # @hmat-cache: memory side cache information (Since: 5.0)
499 'data': [ 'node', 'dist', 'cpu', 'hmat-lb', 'hmat-cache' ] }
517 'hmat-lb': 'NumaHmatLBOptions',
518 'hmat-cache': 'NumaHmatCacheOptions' }}
527 # @cpus: VCPUs belonging to this node (assign VCPUS round-robin if
537 # @initiator: defined in ACPI 6.3 Chapter 5.2.27.3 Table 5-145, points
582 # @interleave-granularity: Number of contiguous bytes for which
586 # @targets: Target root bridge IDs from -device ...,id=<ID> for each
594 '*interleave-granularity': 'size',
602 # @cxl-fmw: List of CXLFixedMemoryWindowOptions
607 'data': { 'cxl-fmw': ['CXLFixedMemoryWindowOptions'] }
613 # A X86 32-bit register
625 # @cpuid-input-eax: Input EAX value for CPUID instruction for that
628 # @cpuid-input-ecx: Input ECX value for CPUID instruction for that
631 # @cpuid-register: Output register containing the feature bits
638 'data': { 'cpuid-input-eax': 'int',
639 '*cpuid-input-ecx': 'int',
640 'cpuid-register': 'X86CPURegister32',
657 # Option "-numa cpu" overrides default cpu to node mapping. It
659 # query-hotpluggable-cpus[].props, where node-id could be used to
675 # 5.2.27.4: Table 5-146: Field "Flags" of ACPI 6.3 spec.
679 # @first-level: first level of memory side cache
681 # @second-level: second level of memory side cache
683 # @third-level: third level of memory side cache
688 'data': [ 'memory', 'first-level', 'second-level', 'third-level' ] }
697 # Table 5-146: Field "Data Type" of ACPI 6.3 spec.
699 # @access-latency: access latency (nanoseconds)
701 # @read-latency: read latency (nanoseconds)
703 # @write-latency: write latency (nanoseconds)
705 # @access-bandwidth: access bandwidth (Bytes per second)
707 # @read-bandwidth: read bandwidth (Bytes per second)
709 # @write-bandwidth: write bandwidth (Bytes per second)
714 'data': [ 'access-latency', 'read-latency', 'write-latency',
715 'access-bandwidth', 'read-bandwidth', 'write-bandwidth' ] }
724 # Table 5-146 of ACPI 6.3 spec.
733 # @data-type: presents the type of data, access/read/write latency or
749 'data-type': 'HmatLBDataType',
760 # 5.2.27.5: Table 5-147 of ACPI 6.3 spec.
781 # Table 5-147: Field "Cache Attributes" of ACPI 6.3 spec.
786 # @write-back: Write Back (WB)
788 # @write-through: Write Through (WT)
793 'data': [ 'none', 'write-back', 'write-through' ] }
801 # Table 5-147: Field "Cache Attributes" of ACPI 6.3 spec.
803 # @node-id: the memory proximity domain to which the memory belongs.
810 # none/direct-mapped/complex(complex cache indexing).
812 # @policy: the write policy, none/write-back/write-through.
820 'node-id': 'uint32',
838 # @cpu-index: the index of the virtual CPU to use for translating the
845 # .. qmp-example::
847 # -> { "execute": "memsave",
850 # "filename": "/tmp/virtual-mem-dump" } }
851 # <- { "return": {} }
858 '*cpu-index': 'int' } }
875 # .. qmp-example::
877 # -> { "execute": "pmemsave",
880 # "filename": "/tmp/physical-mem-dump" } }
881 # <- { "return": {} }
912 # @host-nodes: host nodes for its memory policy
927 'host-nodes': ['uint16'],
931 # @query-memdev:
939 # .. qmp-example::
941 # -> { "execute": "query-memdev" }
942 # <- { "return": [
950 # "host-nodes": [0, 1],
959 # "host-nodes": [2, 3],
965 { 'command': 'query-memdev', 'returns': ['Memdev'], 'allow-preconfig': true }
975 # For s390x see :ref:`cpu-topology-s390x`.
977 # The ids other than the node-id specify the position of the CPU
981 # @node-id: NUMA node ID the CPU belongs to
983 # @drawer-id: drawer number within CPU topology the CPU belongs to
986 # @book-id: book number within parent container the CPU belongs to
989 # @socket-id: socket number within parent container the CPU belongs to
991 # @die-id: die number within the parent container the CPU belongs to
994 # @cluster-id: cluster number within the parent container the CPU
997 # @module-id: module number within the parent container the CPU
1000 # @core-id: core number within the parent container the CPU belongs to
1002 # @thread-id: thread number within the core the CPU belongs to
1008 'data': { '*node-id': 'int',
1009 '*drawer-id': 'int',
1010 '*book-id': 'int',
1011 '*socket-id': 'int',
1012 '*die-id': 'int',
1013 '*cluster-id': 'int',
1014 '*module-id': 'int',
1015 '*core-id': 'int',
1016 '*thread-id': 'int'
1028 # @vcpus-count: number of logical VCPU threads @HotpluggableCPU
1031 # @qom-path: link to existing CPU object if CPU is present or omitted
1041 'vcpus-count': 'int',
1043 '*qom-path': 'str'
1048 # @query-hotpluggable-cpus:
1056 # .. qmp-example::
1060 # ``-smp 2,cores=2,maxcpus=4 -cpu POWER8``::
1062 # -> { "execute": "query-hotpluggable-cpus" }
1063 # <- {"return": [
1064 # { "props": { "core-id": 8 }, "type": "POWER8-spapr-cpu-core",
1065 # "vcpus-count": 1 },
1066 # { "props": { "core-id": 0 }, "type": "POWER8-spapr-cpu-core",
1067 # "vcpus-count": 1, "qom-path": "/machine/unattached/device[0]"}
1070 # .. qmp-example::
1073 # For pc machine type started with ``-smp 1,maxcpus=2``::
1075 # -> { "execute": "query-hotpluggable-cpus" }
1076 # <- {"return": [
1078 # "type": "qemu64-x86_64-cpu", "vcpus-count": 1,
1079 # "props": {"core-id": 0, "socket-id": 1, "thread-id": 0}
1082 # "qom-path": "/machine/unattached/device[0]",
1083 # "type": "qemu64-x86_64-cpu", "vcpus-count": 1,
1084 # "props": {"core-id": 0, "socket-id": 0, "thread-id": 0}
1088 # .. qmp-example::
1091 # For s390x-virtio-ccw machine type started with
1092 # ``-smp 1,maxcpus=2 -cpu qemu`` (Since: 2.11)::
1094 # -> { "execute": "query-hotpluggable-cpus" }
1095 # <- {"return": [
1097 # "type": "qemu-s390x-cpu", "vcpus-count": 1,
1098 # "props": { "core-id": 1 }
1101 # "qom-path": "/machine/unattached/device[0]",
1102 # "type": "qemu-s390x-cpu", "vcpus-count": 1,
1103 # "props": { "core-id": 0 }
1107 { 'command': 'query-hotpluggable-cpus', 'returns': ['HotpluggableCPU'],
1108 'allow-preconfig': true }
1111 # @set-numa-node:
1113 # Runtime equivalent of '-numa' CLI option, available at preconfigure
1118 { 'command': 'set-numa-node', 'boxed': true,
1120 'allow-preconfig': true
1131 # logical_vm_size = vm_ram_size - balloon_size
1133 # From it we have: balloon_size = vm_ram_size - @value
1136 # - If the balloon driver is enabled but not functional because
1138 # - If no balloon device is present, DeviceNotActive
1146 # .. qmp-example::
1151 # -> { "execute": "balloon", "arguments": { "value": 536870912 } }
1152 # <- { "return": {} }
1164 # logical_vm_size = vm_ram_size - balloon_size
1171 # @query-balloon:
1179 # - If the balloon driver is enabled but not functional because
1181 # - If no balloon device is present, DeviceNotActive
1185 # .. qmp-example::
1187 # -> { "execute": "query-balloon" }
1188 # <- { "return": {
1193 { 'command': 'query-balloon', 'returns': 'BalloonInfo' }
1199 # is equivalent to the @actual field return by the 'query-balloon'
1203 # logical_vm_size = vm_ram_size - balloon_size
1205 # .. note:: This event is rate-limited.
1209 # .. qmp-example::
1211 # <- { "event": "BALLOON_CHANGE",
1221 # hv-balloon guest-provided memory status information.
1236 # @query-hv-balloon-status-report:
1238 # Returns the hv-balloon driver data contained in the last received
1245 # - If no hv-balloon device is present, guest memory status
1251 # .. qmp-example::
1253 # -> { "execute": "query-hv-balloon-status-report" }
1254 # <- { "return": {
1260 { 'command': 'query-hv-balloon-status-report', 'returns': 'HvBalloonInfo' }
1265 # Emitted when the hv-balloon driver receives a "STATUS" message from
1268 # .. note:: This event is rate-limited.
1272 # .. qmp-example::
1274 # <- { "event": "HV_BALLOON_STATUS_REPORT",
1286 # @base-memory: size of "base" memory specified with command line
1287 # option -m.
1289 # @plugged-memory: size of memory that can be hot-unplugged. This
1296 'data' : { 'base-memory': 'size', '*plugged-memory': 'size' } }
1299 # @query-memory-size-summary:
1304 # .. qmp-example::
1306 # -> { "execute": "query-memory-size-summary" }
1307 # <- { "return": { "base-memory": 4294967296, "plugged-memory": 0 } }
1311 { 'command': 'query-memory-size-summary', 'returns': 'MemoryInfo' }
1381 # @requested-size: the user requested size of the device
1385 # @max-size: the maximum size of memory that the device can provide
1387 # @block-size: the block size of memory that the device provides
1398 'requested-size': 'size',
1400 'max-size': 'size',
1401 'block-size': 'size',
1436 # hv-balloon provided memory state information
1442 # @max-size: the maximum size of memory that the device can provide
1451 'max-size': 'size',
1461 # @virtio-pmem: since 4.1
1463 # @virtio-mem: since 5.1
1465 # @sgx-epc: since 6.2.
1467 # @hv-balloon: since 8.2.
1472 'data': [ 'dimm', 'nvdimm', 'virtio-pmem', 'virtio-mem', 'sgx-epc',
1473 'hv-balloon' ] }
1518 # @data: hv-balloon provided memory state information
1539 'virtio-pmem': 'VirtioPMEMDeviceInfoWrapper',
1540 'virtio-mem': 'VirtioMEMDeviceInfoWrapper',
1541 'sgx-epc': 'SgxEPCDeviceInfoWrapper',
1542 'hv-balloon': 'HvBalloonDeviceInfoWrapper'
1568 # @sgx-epc: list of ids of memory-backend-epc objects.
1573 'data': { 'sgx-epc': ['SgxEPC'] }
1577 # @query-memory-devices:
1583 # .. qmp-example::
1585 # -> { "execute": "query-memory-devices" }
1586 # <- { "return": [ { "data":
1598 { 'command': 'query-memory-devices', 'returns': ['MemoryDeviceInfo'] }
1604 # memory devices that can actually change the size (e.g., virtio-mem
1611 # @qom-path: path to the device object in the QOM tree (since 6.2)
1613 # .. note:: This event is rate-limited.
1617 # .. qmp-example::
1619 # <- { "event": "MEMORY_DEVICE_SIZE_CHANGE",
1621 # "qom-path": "/machine/unattached/device[2]" },
1625 'data': { '*id': 'str', 'size': 'size', 'qom-path' : 'str'} }
1632 # @order: Boot order (a=floppy, c=hard disk, d=CD-ROM, n=network)
1641 # @splash-time: How long to show the logo picture, in milliseconds
1643 # @reboot-timeout: Timeout before guest reboots after boot fails
1655 '*splash-time': 'int',
1656 '*reboot-timeout': 'int',
1713 # @x-query-irq:
1725 { 'command': 'x-query-irq',
1730 # @x-query-jit:
1742 { 'command': 'x-query-jit',
1748 # @x-query-numa:
1760 { 'command': 'x-query-numa',
1765 # @x-query-opcount:
1777 { 'command': 'x-query-opcount',
1783 # @x-query-ramblock:
1795 { 'command': 'x-query-ramblock',
1800 # @x-query-roms:
1812 { 'command': 'x-query-roms',
1817 # @x-query-usb:
1829 { 'command': 'x-query-usb',
1836 # @32: SMBIOS version 2.1 (32-bit) Entry Point
1838 # @64: SMBIOS version 3.0 (64-bit) Entry Point
1855 # @max-size: maximum hotpluggable memory size in bytes
1863 '*max-size': 'size',
1875 # .. qmp-example::
1877 # -> { "execute": "dumpdtb" }
1879 # <- { "return": {} }
1886 # @x-query-interrupt-controllers:
1898 { 'command': 'x-query-interrupt-controllers',