* kvm unhandled exit 4400
@ 2010-11-02 21:01 Khaled El Mously
2010-11-03 9:14 ` haishan
2010-11-03 9:32 ` haishan
0 siblings, 2 replies; 8+ messages in thread
From: Khaled El Mously @ 2010-11-02 21:01 UTC (permalink / raw)
To: kvm
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?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kvm unhandled exit 4400
2010-11-02 21:01 kvm unhandled exit 4400 Khaled El Mously
@ 2010-11-03 9:14 ` haishan
2010-11-03 9:32 ` haishan
1 sibling, 0 replies; 8+ messages in thread
From: haishan @ 2010-11-03 9:14 UTC (permalink / raw)
To: Khaled El Mously; +Cc: kvm
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?
>
It seemed the “virtualize APIC accesses” VM-execution control was
set to 1.
What's the version of host kernel and KVM?
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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kvm unhandled exit 4400
2010-11-02 21:01 kvm unhandled exit 4400 Khaled El Mously
2010-11-03 9:14 ` haishan
@ 2010-11-03 9:32 ` haishan
2010-11-03 19:44 ` Khaled El Mously
1 sibling, 1 reply; 8+ messages in thread
From: haishan @ 2010-11-03 9:32 UTC (permalink / raw)
To: Khaled El Mously; +Cc: kvm
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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kvm unhandled exit 4400
2010-11-03 9:32 ` haishan
@ 2010-11-03 19:44 ` Khaled El Mously
2010-11-03 21:16 ` Michael Tokarev
0 siblings, 1 reply; 8+ messages in thread
From: Khaled El Mously @ 2010-11-03 19:44 UTC (permalink / raw)
To: haishan; +Cc: kvm
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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kvm unhandled exit 4400
2010-11-03 19:44 ` Khaled El Mously
@ 2010-11-03 21:16 ` Michael Tokarev
2010-11-05 22:32 ` Michael Tokarev
0 siblings, 1 reply; 8+ messages in thread
From: Michael Tokarev @ 2010-11-03 21:16 UTC (permalink / raw)
To: Khaled El Mously; +Cc: haishan, kvm
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kvm unhandled exit 4400
2010-11-03 21:16 ` Michael Tokarev
@ 2010-11-05 22:32 ` Michael Tokarev
2010-11-06 4:38 ` Khaled El Mously
2010-11-06 17:35 ` Avi Kivity
0 siblings, 2 replies; 8+ messages in thread
From: Michael Tokarev @ 2010-11-05 22:32 UTC (permalink / raw)
To: Khaled El Mously; +Cc: haishan, kvm
[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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kvm unhandled exit 4400
2010-11-05 22:32 ` Michael Tokarev
@ 2010-11-06 4:38 ` Khaled El Mously
2010-11-06 17:35 ` Avi Kivity
1 sibling, 0 replies; 8+ messages in thread
From: Khaled El Mously @ 2010-11-06 4:38 UTC (permalink / raw)
To: Michael Tokarev; +Cc: haishan, kvm
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kvm unhandled exit 4400
2010-11-05 22:32 ` Michael Tokarev
2010-11-06 4:38 ` Khaled El Mously
@ 2010-11-06 17:35 ` Avi Kivity
1 sibling, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2010-11-06 17:35 UTC (permalink / raw)
To: Michael Tokarev; +Cc: Khaled El Mously, haishan, kvm
On 11/05/2010 06:32 PM, Michael Tokarev wrote:
> >
> > 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.
May I suggest "wrong" or "incorrect"?
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-11-06 17:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02 21:01 kvm unhandled exit 4400 Khaled El Mously
2010-11-03 9:14 ` haishan
2010-11-03 9:32 ` haishan
2010-11-03 19:44 ` Khaled El Mously
2010-11-03 21:16 ` Michael Tokarev
2010-11-05 22:32 ` Michael Tokarev
2010-11-06 4:38 ` Khaled El Mously
2010-11-06 17:35 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox