Comment 0 for bug 1830704

Revision history for this message
bugproxy (bugproxy) wrote : QEMU toleration patch to ensure cpu detection in a nested KVM

A nested KVM hypervisor has problems to detect the cpu type as z10..z14 with no csske facility available. Instead it will fall back to z9.

We need a backport of

commit eaf6f642abf1d4d24791b70728d4068428fc4658
Author: Christian Borntraeger <email address hidden>
AuthorDate: Mon Apr 29 05:02:43 2019 -0400
Commit: Cornelia Huck <email address hidden>
CommitDate: Tue May 21 16:59:16 2019 +0200

    s390x/cpumodel: ignore csske for expansion

    ...

    Signed-off-by: Christian Borntraeger <email address hidden>
    Cc: <email address hidden>
    Reviewed-by: David Hildenbrand <email address hidden>
    Message-Id: <email address hidden>
    Signed-off-by: Cornelia Huck <email address hidden>

diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c
index e5afa15512..b4bb5de635 100644
--- a/target/s390x/cpu_models.c
+++ b/target/s390x/cpu_models.c
@@ -1322,6 +1322,8 @@ static void init_ignored_base_feat(void)
          S390_FEAT_KM_TDEA_192,
          S390_FEAT_KIMD_SHA_1,
          S390_FEAT_KLMD_SHA_1,
+ /* CSSKE is deprecated on newer generations */
+ S390_FEAT_CONDITIONAL_SSKE,
     };
     int i;

This patch is also needed for Ubuntu 18.04 and 19.04.
18.10 will be out of service in July.....