------- Comment From ch...@us.ibm.com 2019-06-20 14:54 EDT------- IBM z/OS Container Extensions appliance built on SSC 3.x with the proposed kernel successfully identified the zOS hypervisor:
Linux version 4.15.0-53-generic (buildd@bos02-s390x-001) (gcc ver ntu 7.3.0-16ubuntu3)) #57-Ubuntu SMP Thu Jun 13 09:33:16 UTC 2019 -53.57-generic 4.15.18) setup.5ae0ad: Linux is running as a guest in 64-bit mode This fix is verified. ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1829972 Title: Require improved hypervisor detection patch in Ubuntu 18.04 Status in Ubuntu on IBM z Systems: Fix Committed Status in linux package in Ubuntu: Fix Committed Status in linux source package in Bionic: Fix Committed Bug description: == Justification == The s390x early machine detection code check will set all the uknown hypervisors to z/VM, this will cause crash for any non KVM, z/VM system. == Fixes == 03aa047e (s390/early: improve machine detection) Patch can be cherry-picked into Bionic kernel. Instead of setting all the other hypervisors to z/VM, it will only set MACHINE_FLAG_VM if it matches the case. == Tests == A test kernel could be found here: https://people.canonical.com/~phlin/kernel/lp-1829972-s390x-early/ Boot tested on a s390x KVM node and verified by IBM as well. == Regression Potential == Low, this just improves the detection logic and the changes are specific to s390x. == Original Bug Report == This kernel commit is requested to be included into the bionic's 4.15.0 LTS kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03aa047ef2db4985e444af6ee1c1dd084ad9fb4c s390/early: improve machine detection Right now the early machine detection code check stsi 3.2.2 for "KVM" and set MACHINE_IS_VM if this is different. As the console detection uses diagnose 8 if MACHINE_IS_VM returns true this will crash Linux early for any non z/VM system that sets a different value than KVM. So instead of assuming z/VM, do not set any of MACHINE_IS_LPAR, MACHINE_IS_VM, or MACHINE_IS_KVM. This is required for a dedicated SSC exploiter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1829972/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp