diff options
author | Mohammed Gamal <m.gamal005@gmail.com> | 2008-08-30 17:32:29 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-08-31 15:44:47 +0300 |
commit | 7e3ac423f108190b39d420ffed90156daafa4ab2 (patch) | |
tree | 6e88dd83b1df869641b8a9a56147851b48464bb1 /libkvm | |
parent | 77c125369426a519fb9ea92dc159fa5ce392f354 (diff) |
kvm: libkvm: Call kvm_show_regs() on failed vmentry
Call kvm_show_regs() on failed vmentry
Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'libkvm')
-rw-r--r-- | libkvm/libkvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c index fb0aa434..250a821d 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: |