public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm: qemu: Remove reminder for checking dmesg after emulation failure
@ 2010-01-19  9:43 Sheng Yang
  2010-01-19 14:36 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Sheng Yang @ 2010-01-19  9:43 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Avi Kivity, Gleb Natapov, kvm, 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.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
---
 qemu-kvm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;
 }
-- 
1.5.4.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvm: qemu: Remove reminder for checking dmesg after emulation failure
  2010-01-19  9:43 [PATCH] kvm: qemu: Remove reminder for checking dmesg after emulation failure Sheng Yang
@ 2010-01-19 14:36 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2010-01-19 14:36 UTC (permalink / raw)
  To: Sheng Yang; +Cc: Avi Kivity, Gleb Natapov, kvm

On Tue, Jan 19, 2010 at 05:43:58PM +0800, Sheng Yang wrote:
> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-19 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19  9:43 [PATCH] kvm: qemu: Remove reminder for checking dmesg after emulation failure Sheng Yang
2010-01-19 14:36 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox