From: Sheng Yang <sh...@linux.intel.com>

User can use QEmu to get more information. E.g. using the QEmu built-in
disassembly to get the failure instruction like(in the monitor):

x /20i $eip

to dump the code at $eip, or using "x /20i $eip-20" to look around.

Signed-off-by: Sheng Yang <sh...@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosa...@redhat.com>

diff --git a/qemu-kvm.c b/qemu-kvm.c
index 599c3d6..09a3076 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -892,7 +892,7 @@ static int kvm_handle_internal_error(kvm_context_t kvm,
 #endif
     kvm_show_regs(env);
     if (run->internal.suberror == KVM_INTERNAL_ERROR_EMULATION)
-        fprintf(stderr, "emulation failure, check dmesg for details\n");
+        fprintf(stderr, "emulation failure\n");
     vm_stop(0);
     return 1;
 }
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to