]> Git Repo - qemu.git/commit - target/i386/cpu.c
kvm: Improve reporting of fatal errors
authorJan Kiszka <[email protected]>
Fri, 21 Jan 2011 20:48:07 +0000 (21:48 +0100)
committerMarcelo Tosatti <[email protected]>
Sun, 23 Jan 2011 04:27:20 +0000 (02:27 -0200)
commitbb44e0d12df70bd4a653341db4446daf6a9326be
tree0ff333c9db7b4cf5038c5a60466e56ef5ba2ea4f
parent73aaec4a39b3cf11082303a6cf6bcde8796c09c6
kvm: Improve reporting of fatal errors

Report KVM_EXIT_UNKNOWN, KVM_EXIT_FAIL_ENTRY, and KVM_EXIT_EXCEPTION
with more details to stderr. The latter two are so far x86-only, so move
them into the arch-specific handler. Integrate the Intel real mode
warning on KVM_EXIT_FAIL_ENTRY that qemu-kvm carries, but actually
restrict it to Intel CPUs. Moreover, always dump the CPU state in case
we fail.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
kvm-all.c
target-i386/cpu.h
target-i386/cpuid.c
target-i386/kvm.c
This page took 0.026502 seconds and 4 git commands to generate.