Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- qemu-kvm.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/qemu-kvm.c b/qemu-kvm.c index 5568706..05caa1c 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -875,6 +875,16 @@ static int kvm_handle_internal_error(kvm_context_t kvm, { fprintf(stderr, "KVM internal error. Suberror: %d\n", run->internal.suberror); +#ifdef KVM_CAP_INTERNAL_ERROR_DATA + if (kvm_check_extension(kvm_state, KVM_CAP_INTERNAL_ERROR_DATA)) { + int i; + + for (i = 0; i < run->internal.ndata; ++i) { + fprintf(stderr, "extra data[%d]: %"PRIx64"\n", + i, (uint64_t)run->internal.data[i]); + } + } +#endif kvm_show_regs(env); if (run->internal.suberror == KVM_INTERNAL_ERROR_EMULATION) fprintf(stderr, "emulation failure, check dmesg for details\n"); -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html