From mboxrd@z Thu Jan 1 00:00:00 1970 From: Khaled El Mously Subject: Re: kvm unhandled exit 4400 Date: Sat, 6 Nov 2010 00:38:44 -0400 Message-ID: <20101106043843.GA5632@fuzzdora.tablet> References: <20101102210100.GB13929@wuzzy.fuzzbuzz.org> <4CD12C28.20208@gmail.com> <20101103194410.GA3004@fuzzdora.tablet> <4CD1D116.1080908@msgid.tls.msk.ru> <4CD485F4.4020401@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: haishan , kvm@vger.kernel.org To: Michael Tokarev Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:42967 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750984Ab0KFEjY (ORCPT ); Sat, 6 Nov 2010 00:39:24 -0400 Received: by iwn41 with SMTP id 41so1666943iwn.19 for ; Fri, 05 Nov 2010 21:39:23 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4CD485F4.4020401@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: On Sat, Nov 06, 2010 at 01:32:20AM +0300, Michael Tokarev wrote: > [Replying to my own email] > 04.11.2010 00:16, Michael Tokarev wrote: > > 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. > > As others pointed out, this is too harsh. It wasn't > intentional to be extra harsh here, it was just me > not realizing how harsh such a statement is, as > English is not my native language and I dont use it > much. Far more appropriate word for this context > is "nonsense". I apologize for using inappropriate > words. > > > qemu opens /dev/kvm in O_RDWR mode. It does not > > execute that file, execute bit is not needed. > > /mjt Don't worry about it - it WAS complete bullshit. I later got the error again even with /dev/kdm at +rwx.