2019-05-28 09:39:20 |
bugproxy |
bug |
|
|
added bug |
2019-05-28 09:39:22 |
bugproxy |
tags |
|
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 |
|
2019-05-28 09:39:23 |
bugproxy |
ubuntu: assignee |
|
Skipper Bug Screeners (skipper-screen-team) |
|
2019-05-28 09:39:25 |
bugproxy |
affects |
ubuntu |
qemu (Ubuntu) |
|
2019-05-28 09:42:01 |
Heinz-Werner Seeck |
summary |
QEMU toleration patch to ensure cpu detection in a nested KVM |
[UBUNTU] QEMU toleration patch to ensure cpu detection in a nested KVM |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Eoan |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
bug task added |
|
qemu (Ubuntu Eoan) |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Cosmic |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
bug task added |
|
qemu (Ubuntu Cosmic) |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Bionic |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
bug task added |
|
qemu (Ubuntu Bionic) |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Disco |
|
2019-05-28 09:46:42 |
Christian Ehrhardt |
bug task added |
|
qemu (Ubuntu Disco) |
|
2019-05-28 09:48:38 |
Christian Ehrhardt |
qemu (Ubuntu Bionic): status |
New |
Triaged |
|
2019-05-28 09:48:39 |
Christian Ehrhardt |
qemu (Ubuntu Cosmic): status |
New |
Triaged |
|
2019-05-28 09:48:41 |
Christian Ehrhardt |
qemu (Ubuntu Disco): status |
New |
Triaged |
|
2019-05-28 09:48:43 |
Christian Ehrhardt |
qemu (Ubuntu Eoan): status |
New |
Triaged |
|
2019-05-28 10:00:54 |
Frank Heimes |
bug task added |
|
ubuntu-z-systems |
|
2019-05-28 10:01:02 |
Frank Heimes |
ubuntu-z-systems: status |
New |
Triaged |
|
2019-05-28 10:01:07 |
Frank Heimes |
ubuntu-z-systems: importance |
Undecided |
High |
|
2019-05-28 10:01:25 |
Frank Heimes |
ubuntu-z-systems: assignee |
|
Canonical Server Team (canonical-server) |
|
2019-05-28 10:01:36 |
Frank Heimes |
bug |
|
|
added subscriber Christian Ehrhardt |
2019-06-06 06:32:37 |
Launchpad Janitor |
qemu (Ubuntu Eoan): status |
Triaged |
Fix Released |
|
2019-06-06 07:58:24 |
Frank Heimes |
ubuntu-z-systems: status |
Triaged |
In Progress |
|
2019-06-06 18:12:47 |
Christian Ehrhardt |
description |
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 <borntraeger@de.ibm.com>
AuthorDate: Mon Apr 29 05:02:43 2019 -0400
Commit: Cornelia Huck <cohuck@redhat.com>
CommitDate: Tue May 21 16:59:16 2019 +0200
s390x/cpumodel: ignore csske for expansion
...
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190429090250.7648-3-borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
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..... |
[Impact]
* The kernel detects CPU types and enables/disables some features based
on that. With future HW this detection is broken as the csske facility
is no more available.
* This is fixed upstream and here backported, the csske is ignored when
expanding the cpu model for the guest and thereby the issue avoided.
[Test Case]
* Start a kvm guest on s390x
* While doing so qemu/kvm will try to detect the host model
* Check what CPU it detects the model
* Note: this will work (regression check) on all s390x HW, but to prove
the fix and trigger the issue one would need experimental (not GA yet)
HW or a similator. Hence we are relying on the bug reporter for
verification.
* For the functionality of this check the initial commit adding the
core feature [1] which shows how the filtering works.
[1]: https://github.com/qemu/qemu/commit/30e82de70
[Regression Potential]
* If there would be a detection that depends on csske being available or
not that would be affected. But there is none that this is important
for. All existing machines still have csske, for those the issue never
existed and nothing should change. The behavior on new machines will
"change", but not regress. And in addition those new HW was never sold
yet, so even if that would be considered a regression it wouldn't
happen in the field.
[Other Info]
* n/a
---
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 <borntraeger@de.ibm.com>
AuthorDate: Mon Apr 29 05:02:43 2019 -0400
Commit: Cornelia Huck <cohuck@redhat.com>
CommitDate: Tue May 21 16:59:16 2019 +0200
s390x/cpumodel: ignore csske for expansion
...
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190429090250.7648-3-borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
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..... |
|
2019-06-07 09:19:35 |
Timo Aaltonen |
qemu (Ubuntu Disco): status |
Triaged |
Fix Committed |
|
2019-06-07 09:19:37 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-06-07 09:19:40 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2019-06-07 09:19:43 |
Timo Aaltonen |
tags |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 verification-needed verification-needed-disco |
|
2019-06-07 09:22:32 |
Timo Aaltonen |
qemu (Ubuntu Cosmic): status |
Triaged |
Fix Committed |
|
2019-06-07 09:22:38 |
Timo Aaltonen |
tags |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 verification-needed verification-needed-disco |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 verification-needed verification-needed-cosmic verification-needed-disco |
|
2019-06-07 09:26:02 |
Timo Aaltonen |
qemu (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2019-06-07 09:26:07 |
Timo Aaltonen |
tags |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 verification-needed verification-needed-cosmic verification-needed-disco |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-disco |
|
2019-06-07 10:48:25 |
Frank Heimes |
ubuntu-z-systems: status |
In Progress |
Fix Committed |
|
2019-06-07 11:44:17 |
Frank Heimes |
attachment added |
|
regression-test-cpu.txt https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1830704/+attachment/5269289/+files/regression-test-cpu.txt |
|
2019-06-24 10:59:59 |
bugproxy |
tags |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-disco |
architecture-s39064 bugnameltc-177881 severity-high targetmilestone-inin1910 verification-done verification-done-bionic verification-done-cosmic verification-done-disco |
|
2019-06-24 23:49:47 |
Launchpad Janitor |
qemu (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-06-24 23:50:00 |
Steve Langasek |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-06-24 23:50:15 |
Launchpad Janitor |
qemu (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-06-24 23:50:32 |
Launchpad Janitor |
qemu (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-06-25 05:17:07 |
Frank Heimes |
ubuntu-z-systems: status |
Fix Committed |
Fix Released |
|