kvm unhandled exit 4400
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 4400kvm_run returned -22
I've checked google, the kvm website, forums, FAQs and IRC channel.
Anyone know what causes this?
Quoted 11 lines · Khaled El Mously
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_runreturned -22I'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
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Khaled El Mously
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_runreturned -22I'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
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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.
Quoted 25 lines · haishan
Quoted 10 lines · Khaled El Mously
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_runreturned -22I'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 HaiQuoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Khaled El Mously
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/kvmwas 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
[Replying to my own email]
Quoted 8 lines · Michael Tokarev
Quoted 5 lines · Khaled El Mously
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/kvmwas 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.
Quoted 2 lines
qemu opens
/dev/kvminO_RDWRmode. It does not
execute that file, execute bit is not needed.
/mjt
Quoted 19 lines · Michael Tokarev
[Replying to my own email]
Quoted 8 lines · Michael Tokarev
Quoted 5 lines · Khaled El Mously
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/kvmwas 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.
Quoted 4 lines
Quoted 2 lines
qemu opens
/dev/kvminO_RDWRmode. 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.
Quoted 10 lines · Michael Tokarev
Quoted 2 lines
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"?
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.