------- Comment From [email protected] 2018-12-19 23:26 EDT-------
Upstream testing with util-linux [@ https://github.com/karelzak/util-linux]

1. Tested version: util-linux 2.26.2

Result:

root@guest:/home/srik/util-linux# ./lscpu -V
lt-lscpu from util-linux 2.26.2
root@guest:/home/srik/util-linux# ./lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    4
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          1
Model:                 IBM pSeries (emulated by qemu)
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-63

2. Tested version: util-linux 2.27.1

Result:

root@guest:/home/srik/util-linux# ./lscpu -V
lt-lscpu from util-linux 2.27.1
root@guest:/home/srik/util-linux# ./lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    4
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          1
Model:                 IBM pSeries (emulated by qemu)
>     Hypervisor vendor:     KVM      --> correct
>     Virtualization type:   para     --> correct
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-63

On Ubuntu 16.04.5 :

#lscpu -V
lscpu from util-linux 2.27.1

root@guest:~# dpkg -l | grep util-linux
ii  util-linux                            2.27.1-6ubuntu3.6                     
     ppc64el      miscellaneous system utilities

Result:
root@guest:~# lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    4
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          1
Model:                 2.0 (pvr 004d 0200)
Model name:            POWER8 (architected), altivec supported
>     Hypervisor vendor:     horizontal   --> not ok
>     Virtualization type:   full         --> not ok
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-63

I hope its clear now.

------- Comment From [email protected] 2018-12-19 23:27 EDT-------
I am on:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1764628

Title:
  incorrect hypervisor and virtualization type reported in compat mode
  guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1764628/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to