LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   kvm: vm entry failed with error 0xffffffff (http://www.linuxquestions.org/questions/slackware-14/kvm-vm-entry-failed-with-error-0xffffffff-861803/)

woodlu.0@gmail.com 02-10-2011 06:57 AM

kvm: vm entry failed with error 0xffffffff
 
Hi guys, I'm using Slackware 13.1. The kernel version is 2.6.33.4-smp.
I'm trying to use kvm on my machine which has a AMD processor with SVM support.
I create disk image with command "qemu-img create -f qcow2 xp.img
10G". When I run "qemu-system-x86_64 -hda xp.img -cdrom /path/windows.iso -boot d -m 512" command it dosen't work. And prompts below error messages:
No protocol specified
No protocol specified
kvm: vm entry failed with error 0xffffffff
kvm_run returned -22

I have searched this forum, but didn't find any guide. Can any body help? TKS!

ponce 02-10-2011 07:23 AM

it seems there's a bug with kvm with amd processors on 32bit with kernels <2.6.34

http://osdir.com/ml/debian-bugs-dist.../msg02440.html

this is the patch to apply

http://git.kernel.org/?p=linux/kerne...fb75c7215c0b99

then you have to rebuild the kernel.

or you can switch to slackware64 (there kvm on amd works ok).

woodlu.0@gmail.com 02-13-2011 08:58 PM

Thanks, I have already switched to Slackware64. And it works!


All times are GMT -5. The time now is 04:42 AM.