]> git.proxmox.com Git - mirror_qemu.git/commit - qapi/qapi-schema.json
CPU topology: extend with s390 specifics
authorPierre Morel <pmorel@linux.ibm.com>
Mon, 16 Oct 2023 18:39:06 +0000 (20:39 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 20 Oct 2023 05:16:53 +0000 (07:16 +0200)
commit5de1aff2555275ef182197eddcadb276364ace38
tree0f13232b93a25ae2da23989fe9b8832b6c74857c
parent3da4aef81ca61c82c67b86af369ccd251607622e
CPU topology: extend with s390 specifics

S390 adds two new SMP levels, drawers and books to the CPU
topology.
S390 CPUs have specific topology features like dedication and
entitlement. These indicate to the guest information on host
vCPU scheduling and help the guest make better scheduling decisions.

Add the new levels to the relevant QAPI structs.
Add all the supported topology levels, dedication and entitlement
as properties to S390 CPUs.
Create machine-common.json so we can later include it in
machine-target.json also.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Co-developed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Message-ID: <20231016183925.2384704-3-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
15 files changed:
MAINTAINERS
hw/core/machine-smp.c
hw/core/machine.c
hw/core/qdev-properties-system.c
hw/s390x/s390-virtio-ccw.c
include/hw/boards.h
include/hw/qdev-properties-system.h
qapi/machine-common.json [new file with mode: 0644]
qapi/machine.json
qapi/meson.build
qapi/qapi-schema.json
qemu-options.hx
system/vl.c
target/s390x/cpu.c
target/s390x/cpu.h