incorrect hypervisor and virtualization type reported in compat mode guest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Unassigned | ||
util-linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[IMPACT]
In xenial lscpu prints the wrong "Hypervisor vendor" and "Virtualization type" on PowerVM or KVM systems. Incorrect hypervisor and virtualization type reported in ubuntu 16.04.04 guest running in P8compat mode on P9 boston-LC.
[TEST]
Curent output:
ubuntu@P8lpar3:~$ dpkg -l "*util-linux*"
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii util-linux 2.31.1-0.4ub ppc64el miscellaneous system utilities
un util-linux-loc <none> <none> (no description available)
ubuntu@P8lpar3:~$ lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 8
Core(s) per socket: 1
Socket(s): 16
NUMA node(s): 2
Model: 2.1 (pvr 004b 0201)
Model name: POWER8 (architected), altivec supported
Hypervisor vendor: horizontal
Virtualization type: full
L1d cache: 64K
L1i cache: 32K
NUMA node0 CPU(s):
NUMA node4 CPU(s): 0-127
ubuntu@P8lpar3:~$
Expected Output:
$ lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 8
Core(s) per socket: 1
Socket(s): 16
NUMA node(s): 2
Model: 2.1 (pvr 004b 0201)
Model name: POWER8 (architected), altivec supported
Hypervisor vendor: pHyp
Virtualization type: para
L1d cache: 64K
L1i cache: 32K
NUMA node0 CPU(s):
NUMA node4 CPU(s): 0-127
[Potential Regression]
The fix changes the logic to how lscpu-dmi returns from read_hypervisor
[Other Info]
---uname output---
Linux guest 4.15.0-13-generic #14~16.04.1-Ubuntu SMP Sat Mar 17 03:03:53 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = boston-LC
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Incorrect hypervisor and virtualization type reported in ubuntu 16.04.04 guest running in P8compat mode on P9 boston-LC:
root@guest:/tmp# lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 2
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Model: 2.2 (pvr 004e 1202)
Model name: POWER8 (architected), altivec supported
>> Hypervisor vendor: horizontal
>> Virtualization type: full
L1d cache: 32K
L1i cache: 32K
NUMA node0 CPU(s): 0,1
Stack trace output:
no
Oops output:
no
We test what is coming along with distro. If you are not able to see issue with : https:/
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
status: | New → Triaged |
tags: | added: triage-a |
Changed in ubuntu-power-systems: | |
status: | Triaged → Incomplete |
Changed in util-linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Foundations Team (canonical-foundations) |
importance: | Undecided → Medium |
Changed in ubuntu-power-systems: | |
status: | Incomplete → Triaged |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
Changed in ubuntu-power-systems: | |
status: | Triaged → Incomplete |
Changed in util-linux (Ubuntu): | |
status: | New → Incomplete |
description: | updated |
tags: | added: id-5ca3e96ad9917b50d663113d |
Changed in util-linux (Ubuntu): | |
assignee: | Manoj Iyer (manjo) → Canonical Foundations Team (canonical-foundations) |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in util-linux (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
description: | updated |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
Default Comment by Bridge