← Back to team overview

kernel-packages team mailing list archive

[Bug 1419855] Comment bridged from LTC Bugzilla

 

------- Comment From lagarcia@xxxxxxxxxx 2015-02-11 15:23 EDT-------
On x86, KVM modules are loaded by checking if some processor features are available.

For instance, in my x86_64 laptop:

---------------------------

[root@lagarcia ~]# modinfo kvm-intel
filename:       /lib/modules/3.18.5-201.fc21.x86_64/kernel/arch/x86/kvm/kvm-intel.ko.xz
license:        GPL
author:         Qumranet
alias:          cpu:type:x86,ven*fam*mod*:feature:*0085*
depends:        kvm
<...>

---------------------------

The "alias:          cpu:type:x86,ven*fam*mod*:feature:*0085*" will
instruct the kernel to load this module whenever this feature is
available. The same is not true on other platforms.

On Power, you need to explicitly load the modules. This is usually done
by adding scripts wherever appropriate in the system to automatically
load modules during system start up. In the case of KVM modules, these
scripts are usually included in the QEMU package. From what I could
grasp (sorry if I am mistaken as this is the first time I am looking at
an Ubuntu source package), this is already done in Ubuntu through the
script qemu-system-ppc.qemu-kvm.upstart.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-utopic in Ubuntu.
https://bugs.launchpad.net/bugs/1419855

Title:
  must manually load kvm_hv or kvm_pr before using kvm on ppc64

Status in linux-lts-utopic package in Ubuntu:
  New

Bug description:
  on x86_64, kvm modules load automatically.
  on ppc64, they do not.

  The user has to manually load them via /etc/modules or something like:

    grep -q kvm_ /proc/modules || modprobe kvm_hv || modprobe kvm_pr

  
  Should / could kvm modules be automatically loaded on ppc64?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.16.0-30-generic 3.16.0-30.40~14.04.1
  ProcVersionSignature: User Name 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3
  Uname: Linux 3.16.0-30-generic ppc64le
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: ppc64el
  Date: Mon Feb  9 15:56:34 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)

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


References