qemu says my cpu is too old
hi all,
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 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. |
have a look at this topic, if you are using qemu-kvm on an AMD cpu on slackware 32bit with kernel <2.6.34 (it has be patched/rebuilt).
|
Quote:
|
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. |
no problems with other vms. i run slackware, centos, ubuntu and windows xp, no problems at all. haven't tried virtual box...
|
You need to do this for KVM:
|
Quote:
|
works with virtualbox...
|
Then I would file a bug against 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.
Eric |
Quote:
Code:
qemu -m 1000 -vnc :15 hd.qcow |
qemu-kvm-15.0 was released and the new code does not contain that error any more.
(see http://git.kernel.org/?p=virt/kvm/qe...iff;h=c94391b6) The new version is in the "pending" queue of SlackBuilds.org awaiting approval. I have no Windows 7 media here to test if this solves your problem, but it might be worth a try... At least *that* message you will not see again :) |
If you are eager to test and not so eager to first compile qemu-kvm you can get a 0.15.0 package at http://slackware.com/~alien/slackbuilds/qemu-kvm/ .
This is for Slackware 13.37 and you will also need the VDE package against which my qemu-kvm has been compiled: http://slackware.com/~alien/slackbuilds/vde/ Eric |
i have installed alienbob's qemu-kvm 0.15.0 binary package... still getting the error...
|
Too bad it did not work...
As I said, I do not have a Windows 7 disk to test this (and it seems to work with all other OSs) but if I can get someone to let me use it for a few days, I might look into this. I actually use my own - hacked - version of Qemu, so I'll have to compile it anyway. But I hope someone can solve this before I get to it... |
Quote:
|
Well, not sure if I missed something, but I just tried Windows 7 (Professional 32 bits) and it works just fine.
My setup - Host=Slackware64-current - Qemu 0.14.0 (with some patches, but nothing related to this problem) - Guest=Windows 7 Professional 32-bits Please give some details on your setup... |
Just another update...
Also tried it with Windows 7 Professional 64-bits - again without any problems on Qemu 0.14.0... Did you use Qemu built with the script from SlackBuilds.org ? |
well there you go... i re-downloaded the trial windows 7 iso and it is all good now. my old trial iso or the qcow disk must have been corrupt.
thank you all very much for your help (especially niels.horn for spending your time to help me). |
Problem solved, mystery remains :)
But good to know it's working now for you as well! |
All times are GMT -5. The time now is 12:14 AM. |