kvm-ok is insufficient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uvtool |
Triaged
|
Medium
|
Unassigned |
Bug Description
Raphaël had this case:
"kvm-ok" reports /dev/kvm missing, so exits 1.
"sudo kvm-ok" warns /dev/kvm missing, but verifies that the CPU supports virt, so exits 0.
So "sudo uvt-kvm create" doesn't warn of userland KVM functionality being missing in this case. This leads to the libvirt "libvirt.
"sudo kvm-ok" suggests "modprobe kvm_amd", but this fails. dmesg reports:
[ 3702.470702] has_svm: can't execute cpuid_8000000a
[ 3702.470715] kvm: no hardware support
/proc/cpuinfo looks like this:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 6
model name : AMD Opteron 23xx (Gen 3 Class Opteron)
stepping : 1
microcode : 0x1000065
cpu MHz : 2400.000
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 popcnt hypervisor cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips : 4800.00
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
(and three more cores)
Changed in uvtool: | |
status: | New → Triaged |
importance: | Undecided → Medium |
linux-image- 3.11.0- 12-generic 3.11.0-12.19 034ea5cd- 82fe-4b63- ad47-1477b01b9d f1 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Linux server-