[Feature Request] disable KVM if VMX/SVM not available

kro

New Member
Apr 30, 2008
21
0
1
One idea: hide all options related to KVM if there is no hardware-support available. Display it greyed out or so, if it's available but not activated (BIOS).
This is quite easy to do in the backend at least:
1) if no vmx oder svm in /proc/cpuinfo -> no support available
2) if vmx or svm is available, but deactivated in BIOS (find out with "rdmsr" for intel, AMD I don't know) prompt user to enable it. Would need additional MSR-support in your kernel, but that doesn't hurt at all (If it isn't even included already).

Feasible? :-)