SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm trying to run windows 7 as a guest in qemu, and am getting the following error:
Code:
kvm: vm entry failed with error 0x80000021
If you're runnning a guest on an Intel machine without
unrestricted mode support, the failure can be most likely
due to the guest entering an invalid state for Intel VT.
For example, the guest maybe running in big real mode
which is not supported on less recent Intel processors.
kvm_run returned -22
i asked in #qemu on freenode, and someone suggested that my cpu is too old (intel q9550), but then i found someone having the same problem with an i7 (http://forums.meulie.net/viewtopic.php?f=43&t=6861).
i cannot find a solution to the problem on the net (or a confirmation that my cpu cannot do the job).
any ideas how to fix this?
edit: windows 7 installs fine, and then qemu gives this error after reboot. it runs fine (but sloooow) if i use -no-kvm.
It's not just your CPU: your motherboard has to support virtualization as well, something that can usually be enabled in BIOS. Do other OSes run as VMs without issue?
The Core2Quad Q9550 supports hardware virtualization for sure. As said above, have a look in your BIOS if it is disabled. If you have a custom kernel it may be disabled there also.
If it is enabled in BIOS and kernel and works with other virtualization environments, like Virtualbox, I would file a bug against qemu.
Have a CPU with extensions that support kvm. (I think it is vmx on intel chips)
Turn kvm on in the BIOS.
Boot slackware and modprobe kvm-intel, so your kernel you use needs to have support for it.
Run Qemu with kvm, having built for kvm
Since he states that this problems only occur with a Windows 7 guest I think that all these requirements are fulfilled. I would rather think that it is a bug in qemu.
Are you running your Windows 7 guest in a VM with 4GB or more of memory allocated to it? If so, try reducing the amount of RAM for the guest to below 4GB.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.