must manually load kvm_hv or kvm_pr before using kvm on ppc64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Confirmed
|
Low
|
Unassigned |
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-
ProcVersionSign
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_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-lts-utopic
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: architecture-ppc64le bugnameltc-121656 severity-medium targetmilestone-inin1404 |
affects: | linux-lts-utopic (Ubuntu) → qemu (Ubuntu) |
Changed in qemu (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
no longer affects: | qemu (Ubuntu Zesty) |
no longer affects: | qemu (Ubuntu Xenial) |
no longer affects: | qemu (Ubuntu Yakkety) |
Changed in qemu (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → Low |
> Should / could kvm modules be automatically loaded on ppc64?
Yes, mainly if it is running in opal mode. Something as:
grep OPAL /proc/cpuinfo >/dev/null 2>&1 && opal=1
modprobe -b kvm >/dev/null 2>&1
modprobe -b kvm-hv >/dev/null 2>&1
modprobe -b kvm-pr >/dev/null 2>&1 && kvm=1
if [ "$opal" ]; then
fi