Public bug reported:

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 protected]>
AuthorDate: Mon Apr 29 05:02:43 2019 -0400
Commit:     Cornelia Huck <[email protected]>
CommitDate: Tue May 21 16:59:16 2019 +0200

    s390x/cpumodel: ignore csske for expansion
    
    ...
    
    Signed-off-by: Christian Borntraeger <[email protected]>
    Cc: [email protected]
    Reviewed-by: David Hildenbrand <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Cornelia Huck <[email protected]>

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.....

** Affects: qemu (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: Triaged

** Affects: qemu (Ubuntu Bionic)
     Importance: Undecided
         Status: Triaged

** Affects: qemu (Ubuntu Cosmic)
     Importance: Undecided
         Status: Triaged

** Affects: qemu (Ubuntu Disco)
     Importance: Undecided
         Status: Triaged

** Affects: qemu (Ubuntu Eoan)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: Triaged


** Tags: architecture-s39064 bugnameltc-177881 severity-high 
targetmilestone-inin1910

** Tags added: architecture-s39064 bugnameltc-177881 severity-high
targetmilestone-inin1910

** Changed in: ubuntu
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Package changed: ubuntu => qemu (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830704

Title:
  [UBUNTU] QEMU toleration patch to ensure cpu detection in a nested KVM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1830704/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to