Re: kvm unhandled exit 4400

Khaled El Mously
2010-11-03T19:44:39Z

The host kernel is on Ubuntu: 2.6.32-25-generic

The guest kernel is 2.6.34-something.

I have figured out what the problem is. When I first attempted to run kvm, it said access to /dev/kvm was denied. So I did "chmod o+rw /dev/kvm" and reloaded. It stopped complaining about permissions, but apparently it won't work unless you have the +x as well (i.e. need to do "chmod o+rwx /dev/kvm" ). Perhaps that should be documented somewhere. Or maybe kvm should specifically check for that and complain early.

Thanks for your input haishan.

On Wed, Nov 03, 2010 at 05:32:24PM +0800, haishan wrote:
> Khaled El Mously wrote:
> >There seems to be a problem kvm-booting a 32-bit (Fedora) machine on a 32-bit Intel Q9450 (Ubuntu) machine.
> >
> >The error displayed is:
> >
> >kvm: unhandled exit 4400
> >kvm_run returned -22
> >
> >I've checked google, the kvm website, forums, FAQs and IRC channel.
> >
> >Anyone know what causes this?
>
> Your version of host kernel kvm had not implemented the
> APIC-ACCESS VM EXITS emulation, update the kernel
> should solve the problem.
>
>
> Regards
> Shan Hai
>
> >--
> >To unsubscribe from this list: send the line "unsubscribe kvm" in
> >the body of a message to majordomo@vger.kernel.org
> >More majordomo info at http://vger.kernel.org/majordomo-info.html
>