needs s390x support

Bug #1526113 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CPU-Checker
New
Undecided
Unassigned
cpu-checker (Ubuntu)
Fix Released
Undecided
Unassigned

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 :-)

Revision history for this message
dann frazier (dannf) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cpu-checker - 0.7-0ubuntu6

---------------
cpu-checker (0.7-0ubuntu6) xenial; urgency=high

  [ Michael Hudson-Doyle ]
  * Add cpu-checker-s390x.patch from dann frazier (LP: #1526113)
  * Build on s390x.

  [ Dimitri John Ledkov ]
  * Slight tweak to spelling in the cpu-checker-s390x comments.

 -- Michael Hudson-Doyle <email address hidden> Tue, 15 Dec 2015 14:33:14 +1300

Changed in cpu-checker (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.