Skip to contentSkip to conversation

kvm: qemu: Remove reminder for checking dmesg after emulation failure

PATCH Applied Sheng Yang 2 participants 2 messages Jan 19, 2010 KVM

lore
Share & tools
lore

Sheng Yang

author
#0 lore raw

PATCH 1/1 kvm: qemu: Remove reminder for checking dmesg after emulation failure

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.

---
 qemu-kvm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
qemu-kvm.c +1 -1
index 599c3d6..09a3076 100644
@@ -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;
 }
Signature · 1 line
1.5.4.5
#1 lore raw
Quoted 6 lines · Sheng Yang

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.

Applied both, thanks.