]> xenbits.xensource.com Git - qemu-xen.git/commit
target/s390x/cpu topology: activate CPU topology
authorPierre Morel <pmorel@linux.ibm.com>
Mon, 16 Oct 2023 18:39:12 +0000 (20:39 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 20 Oct 2023 05:16:53 +0000 (07:16 +0200)
commitf530b9e7dad69511f79bbeb3e6683f854ebf703c
treeec037ae2687259914d9980cafcc3c507b77d6f0d
parentaf37bad52e7c216c044f919d6254c77be0eacbc6
target/s390x/cpu topology: activate CPU topology

The KVM capability KVM_CAP_S390_CPU_TOPOLOGY is used to
activate the S390_FEAT_CONFIGURATION_TOPOLOGY feature and
the topology facility in the host CPU model for the guest
in the case the topology is available in QEMU and in KVM.

The feature is disabled by default and fenced for SE
(secure execution).

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231016183925.2384704-9-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/cpu-topology.c
target/s390x/cpu_models.c
target/s390x/kvm/kvm.c