← Back to team overview

kernel-packages team mailing list archive

[Bug 1468928] Re: IBM Power8 PowerNV does not expose kvm capabilities

 

This is not a bug with the kernel, different processors expose if they
are 'hardware virtualization' capable in different ways.

If using systemd, you can just use 'systemd-detect-virt'.

If you want to see how that patch was done in systemd, you can look here:
https://github.com/arges/systemd/commit/121bcf6d8a2d84cac732d66677440e432fcbf8fd

Essentially check here:
cat /sys/firmware/devicetree/base/hypervisor/compatible

Marking this bug invalid.

** Changed in: linux (Ubuntu)
       Status: Confirmed => Invalid

-- 
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/1468928

Title:
  IBM Power8 PowerNV does not expose kvm capabilities

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Power8  in PowerNV mode with Ubuntu installed does not expose kvm cpu
  capabilities:

  ubuntu@powereight:~$ lsmod |grep kvm
  ubuntu@powereight:~$ 

  ubuntu@powereight:~$ egrep -o "vmx|svm" /proc/cpuinfo
  ubuntu@powereight:~$ 

  
  In this same mode with PowerKVM installed, the machine does have kvm capabilities.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.16.0-41-generic 3.16.0-41.55~14.04.1
  ProcVersionSignature: User Name 3.16.0-41.55~14.04.1-generic 3.16.7-ckt11
  Uname: Linux 3.16.0-41-generic ppc64le
  ApportVersion: 2.14.1-0ubuntu3.10
  Architecture: ppc64el
  Date: Thu Jun 25 21:35:08 2015
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-lts-utopic
  UpgradeStatus: No upgrade log present (probably fresh install)
  --- 
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jun 25 21:13 seq
   crw-rw---- 1 root audio 116, 33 Jun 25 21:13 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.14.1-0ubuntu3.10
  Architecture: ppc64el
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  DistroRelease: Ubuntu 14.04
  Lsusb:
   Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Package: linux (not installed)
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   
  ProcKernelCmdLine: root=/dev/mapper/mpath0-part2 ro
  ProcVersionSignature: User Name 3.16.0-41.55~14.04.1-generic 3.16.7-ckt11
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-41-generic N/A
   linux-backports-modules-3.16.0-41-generic  N/A
   linux-firmware                             1.127.11
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  trusty uec-images
  Uname: Linux 3.16.0-41-generic ppc64le
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio cdrom dialout dip floppy netdev plugdev sudo video
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1468928/+subscriptions


References