From: Mohammed Gamal <m.gamal005@gmail.com>
To: kvm@vger.kernel.org
Cc: avi@qumranet.com, riel@surriel.com
Subject: [PATCH] libkvm: Call kvm_show_regs() on failed vmentry
Date: Sat, 30 Aug 2008 17:32:29 +0300 [thread overview]
Message-ID: <20080830143229.GA9659@mohd-laptop> (raw)
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
next reply other threads:[~2008-08-30 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-30 14:32 Mohammed Gamal [this message]
2008-08-31 12:44 ` [PATCH] libkvm: Call kvm_show_regs() on failed vmentry Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080830143229.GA9659@mohd-laptop \
--to=m.gamal005@gmail.com \
--cc=avi@qumranet.com \
--cc=kvm@vger.kernel.org \
--cc=riel@surriel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox