Re: kvm unhandled exit 4400

Michael Tokarev
2010-11-03T21:16:09Z

03.11.2010 22:44, Khaled El Mously wrote:
> 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.

Um. Please excuse me but this is a complete bullshit.

qemu opens /dev/kvm in O_RDWR mode. It does not
execute that file, execute bit is not needed.

/mjt