Skip to contentSkip to conversation

libkvm: Call kvm_show_regs() on failed vmentry

PATCH Applied Mohammed Gamal 2 participants 2 messages Aug 30, 2008 – Aug 31, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libkvm: Call kvm_show_regs() on failed vmentry

Call kvm_show_regs() on failed vmentry

---
 libkvm/libkvm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
libkvm/libkvm.c +1 -0
index fb0aa43..250a821 100644
@@ -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:
Signature · 1 line
1.5.4.3
Applied
#1 lore raw
Quoted 3 lines · Mohammed Gamal

Call kvm_show_regs() on failed vmentry

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function