Tuesday, November 1, 2011

Virtualbox KVM error

I installed QEMU, but then a few days later when I tried to run my Virtualbox Windows 7 64-bit Guest, I got this error:

AMD-V is being used by another hypervisor. (VERR_SVM_IN_USE). VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE).

I uninstalled QEMU (as suggested in some of the forums), and tried again but still go the same error.

Then I found this command which worked. However, it is temporary and you'll have to run it after each reboot.
sudo rmmod kvm_amd kvm
Next I found this code, which also worked but would have to be run after each reboot.
sudo service qemu-kvm stop
But... why should I be disabling a qemu-kvm service when I supposedly uninstall QEMU???

I checked services but could find not find an entry for qemu-kvm. After doing a system search for qemu-kvm, I found this file:
/var/lib/update-rc.d/qemu-kvm
I moved the file to my home folder, rebooted, and now my 64-bit Guest OS's are working again :)

No comments:

Post a Comment