kvm disabled-by-bios flag should be displayed in /proc/cpuinfo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CPU-Checker |
Triaged
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
The kvm-ok utility helps users determine if their hardware is capable of running hardware accelerated KVM virtual machines.
The easy part of the check is looking for (vmx|svm) in /proc/cpuinfo.
This is not entirely sufficient, however, as users (or OEMs) can disable VT arbitrarily in BIOS, rendering VT unusable. However, the kernel continues printing (vmx|svm) to /proc/cpuinfo's flags.
The kvm module detects this, though, on module load, and adds a printk to dmesg:
[ 15.147129] kvm: disabled by bios
The dmesg log is not ideal, obviously, as these logs roll eventually.
Furthermore, the story in /proc/cpuinfo is clearly not the full picture.
What is needed, then, is the display of an additional flag in /proc/cpuinfo, noting that svm_disabled|
Changed in linux (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in cpu-checker: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: kernel-series-unknown |
FWIW, kvm-ok now checks for "disabled by bios" message in dmesg.