Comment 24 for bug 452323

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I tested the latest version at:

http://rookery.canonical.com/~kirkland/kvm-ok

All the tests were successful. The following is the output:

Test 1: VT Enabled in BIOS(On a machine that supports VT):
$ ./kvm-ok.new
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm exists
KVM acceleration can be used

Test 2a: (run this on a system that does not support VT)
joe@jts-ubuntu:~$ kvm-ok.new
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used

Test 2b: (sudo modprobe -r kvm, and then re-run kvm-ok and see that /dev/kvm is gone)
$ ./kvm-ok.new
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
KVM acceleration can NOT be used

Test 2c: (reboot into BIOS, disable VT, and re-run kvm-ok)
$ ./kvm-ok.new
INFO: Your CPU supports KVM extensions
INFO: KVM is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT)
KVM acceleration can NOT be used