Here's a patch to add s390x support to cpu-checker. Logically, it does the same as POWER and just assumes that the hardware is always virt capable. My understanding is that zSeries supports nested virtualization (SIE instruction supports 2 layers, then the OS emulates SIE after that).
I also did some cleanup: - replaced a series of if/elif/elif/elif with a case statement to reduce code duplication - I replaced the "POWER" virt type with one called "generic" that can be shared among platforms that are always assumed to be virt-capable - I got rid of the comment about "HYP mode" in power, as "HYP mode" is an ARM construct. ** Patch added: "cpu-checker-s390x.patch" https://bugs.launchpad.net/cpu-checker/+bug/1526113/+attachment/4534832/+files/cpu-checker-s390x.patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to cpu-checker in Ubuntu. https://bugs.launchpad.net/bugs/1526113 Title: needs s390x support Status in CPU-Checker: New Status in cpu-checker package in Ubuntu: New Bug description: cpu-checker / kvm-ok is not available on s390x. I'm not sure what it should do, otherwise I'd attach a patch :-) To manage notifications about this bug go to: https://bugs.launchpad.net/cpu-checker/+bug/1526113/+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