kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Show registers and exit on unhandled errors
@ 2009-09-21 11:18 Mohammed Gamal
  2009-09-21 11:29 ` Jan Kiszka
  0 siblings, 1 reply; 7+ messages in thread
From: Mohammed Gamal @ 2009-09-21 11:18 UTC (permalink / raw)
  To: avi; +Cc: mtosatti, kvm, Mohammed Gamal

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
---
 qemu-kvm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/qemu-kvm.c b/qemu-kvm.c
index 0afdb56..c22c28a 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -1015,6 +1015,8 @@ int kvm_run(kvm_vcpu_context_t vcpu, void *env)
         switch (run->exit_reason) {
         case KVM_EXIT_UNKNOWN:
             r = handle_unhandled(run->hw.hardware_exit_reason);
+            kvm_show_regs(vcpu);
+            abort();
             break;
         case KVM_EXIT_FAIL_ENTRY:
             r = handle_unhandled(run->fail_entry.hardware_entry_failure_reason);
-- 
1.6.0.4


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

end of thread, other threads:[~2009-09-21 11:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-21 11:18 [PATCH] Show registers and exit on unhandled errors Mohammed Gamal
2009-09-21 11:29 ` Jan Kiszka
2009-09-21 11:31   ` Mohammed Gamal
2009-09-21 11:42     ` Jan Kiszka
2009-09-21 11:47       ` Mohammed Gamal
2009-09-21 11:50       ` Mohammed Gamal
2009-09-21 11:51     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).