diff options
| author | Pierre Morel <pmorel@linux.ibm.com> | 2023-10-16 20:39:12 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2023-10-20 07:16:53 +0200 |
| commit | f530b9e7dad69511f79bbeb3e6683f854ebf703c (patch) | |
| tree | ec037ae2687259914d9980cafcc3c507b77d6f0d /target/s390x/cpu_models.c | |
| parent | af37bad52e7c216c044f919d6254c77be0eacbc6 (diff) | |
| download | focaccia-qemu-f530b9e7dad69511f79bbeb3e6683f854ebf703c.tar.gz focaccia-qemu-f530b9e7dad69511f79bbeb3e6683f854ebf703c.zip | |
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>
Diffstat (limited to 'target/s390x/cpu_models.c')
| -rw-r--r-- | target/s390x/cpu_models.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c index 98f14c09c2..4dead48650 100644 --- a/target/s390x/cpu_models.c +++ b/target/s390x/cpu_models.c @@ -255,6 +255,7 @@ bool s390_has_feat(S390Feat feat) case S390_FEAT_SIE_CMMA: case S390_FEAT_SIE_PFMFI: case S390_FEAT_SIE_IBS: + case S390_FEAT_CONFIGURATION_TOPOLOGY: return false; break; default: |