public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libkvm: Call kvm_show_regs() on failed vmentry
@ 2008-08-30 14:32 Mohammed Gamal
  2008-08-31 12:44 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Gamal @ 2008-08-30 14:32 UTC (permalink / raw)
  To: kvm; +Cc: avi, riel

Call kvm_show_regs() on failed vmentry

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

diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c
index fb0aa43..250a821 100644
--- a/libkvm/libkvm.c
+++ b/libkvm/libkvm.c
@@ -955,6 +955,7 @@ again:
 		case KVM_EXIT_FAIL_ENTRY:
 			fprintf(stderr, "kvm_run: failed entry, reason %u\n", 
 				(unsigned)run->fail_entry.hardware_entry_failure_reason & 0xffff);
+			kvm_show_regs(kvm, vcpu);
 			return -ENOEXEC;
 			break;
 		case KVM_EXIT_EXCEPTION:
-- 
1.5.4.3



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

end of thread, other threads:[~2008-08-31 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-30 14:32 [PATCH] libkvm: Call kvm_show_regs() on failed vmentry Mohammed Gamal
2008-08-31 12:44 ` Avi Kivity

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