The following changes since commit 0d239e513e0117e66fa739fb71a43b9383a108ff:
Merge tag 'pull-lu-20231018' of https://gitlab.com/rth7680/qemu into staging (2023-10-19 10:20:57 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2023-10-20 for you to fetch changes up to 18424d9591c73178bdfd6a4518091064db22e1d9: tests/qtest/migration-test: Disable the analyze-migration.py test on s390x (2023-10-20 07:16:53 +0200) ---------------------------------------------------------------- * s390x CPU topology support * Simplify the KVM register synchronization code * Disable the analyze-migration.py test on s390x ---------------------------------------------------------------- v2: - Fixed the CI failures - Dropped the -Wshadow cleanup patch since it's in another PR already Nina Schoetterl-Glausch (1): qapi: machine.json: change docs regarding CPU topology Pierre Morel (20): CPU topology: extend with s390 specifics s390x/cpu topology: add topology entries on CPU hotplug target/s390x/cpu topology: handle STSI(15) and build the SYSIB s390x/sclp: reporting the maximum nested topology entries s390x/cpu topology: resetting the Topology-Change-Report s390x/cpu topology: interception of PTF instruction target/s390x/cpu topology: activate CPU topology qapi/s390x/cpu topology: set-cpu-topology qmp command machine: adding s390 topology to query-cpu-fast machine: adding s390 topology to info hotpluggable-cpus qapi/s390x/cpu topology: CPU_POLARIZATION_CHANGE QAPI event qapi/s390x/cpu topology: add query-s390x-cpu-polarization command docs/s390x/cpu topology: document s390x cpu topology tests/avocado: s390x cpu topology core tests/avocado: s390x cpu topology polarization tests/avocado: s390x cpu topology entitlement tests tests/avocado: s390x cpu topology test dedicated CPU tests/avocado: s390x cpu topology test socket full tests/avocado: s390x cpu topology dedicated errors tests/avocado: s390x cpu topology bad move Thomas Huth (3): target/s390x/kvm: Turn KVM_CAP_SYNC_REGS into a hard requirement target/s390x/kvm: Simplify the GPRs, ACRs, CRs and prefix synchronization code tests/qtest/migration-test: Disable the analyze-migration.py test on s390x MAINTAINERS | 11 + docs/devel/index-internals.rst | 1 + docs/devel/s390-cpu-topology.rst | 170 +++++++++++++ docs/system/s390x/cpu-topology.rst | 244 +++++++++++++++++++ docs/system/target-s390x.rst | 1 + qapi/machine-common.json | 21 ++ qapi/machine-target.json | 121 ++++++++++ qapi/machine.json | 85 +++++-- qapi/qapi-schema.json | 1 + include/hw/boards.h | 10 +- include/hw/qdev-properties-system.h | 4 + include/hw/s390x/cpu-topology.h | 83 +++++++ include/hw/s390x/s390-virtio-ccw.h | 6 + include/hw/s390x/sclp.h | 4 +- target/s390x/cpu.h | 82 +++++++ target/s390x/kvm/kvm_s390x.h | 1 + hw/core/machine-hmp-cmds.c | 6 + hw/core/machine-smp.c | 48 +++- hw/core/machine.c | 4 + hw/core/qdev-properties-system.c | 13 + hw/s390x/cpu-topology.c | 469 ++++++++++++++++++++++++++++++++++++ hw/s390x/s390-virtio-ccw.c | 29 ++- hw/s390x/sclp.c | 5 + system/vl.c | 6 + target/s390x/cpu-sysemu.c | 13 + target/s390x/cpu.c | 16 ++ target/s390x/cpu_models.c | 1 + target/s390x/kvm/kvm.c | 166 ++++++------- target/s390x/kvm/stsi-topology.c | 334 +++++++++++++++++++++++++ tests/qtest/migration-test.c | 4 +- hw/s390x/meson.build | 1 + qapi/meson.build | 1 + qemu-options.hx | 7 +- target/s390x/kvm/meson.build | 3 +- tests/avocado/s390_topology.py | 439 +++++++++++++++++++++++++++++++++ 35 files changed, 2285 insertions(+), 125 deletions(-) create mode 100644 docs/devel/s390-cpu-topology.rst create mode 100644 docs/system/s390x/cpu-topology.rst create mode 100644 qapi/machine-common.json create mode 100644 include/hw/s390x/cpu-topology.h create mode 100644 hw/s390x/cpu-topology.c create mode 100644 target/s390x/kvm/stsi-topology.c create mode 100644 tests/avocado/s390_topology.py