diff options
author | Avi Kivity <avi@qumranet.com> | 2007-09-12 06:21:09 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:28 -0400 |
commit | 054b1369679fb97582fc77f25a700d4290ff3e89 (patch) | |
tree | fc06afd41830c263f6c068d1bd743ef7fcf9637d /drivers/kvm/kvm.h | |
parent | fd2a76086527cbe074b08a8820253228cd919ece (diff) |
KVM: Improve emulation failure reporting
Report failed opcodes from all locations.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index d93ab48424c6..ad0813843adc 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -558,6 +558,7 @@ enum emulation_result { | |||
558 | 558 | ||
559 | int emulate_instruction(struct kvm_vcpu *vcpu, struct kvm_run *run, | 559 | int emulate_instruction(struct kvm_vcpu *vcpu, struct kvm_run *run, |
560 | unsigned long cr2, u16 error_code); | 560 | unsigned long cr2, u16 error_code); |
561 | void kvm_report_emulation_failure(struct kvm_vcpu *cvpu, const char *context); | ||
561 | void realmode_lgdt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); | 562 | void realmode_lgdt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); |
562 | void realmode_lidt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); | 563 | void realmode_lidt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); |
563 | void realmode_lmsw(struct kvm_vcpu *vcpu, unsigned long msw, | 564 | void realmode_lmsw(struct kvm_vcpu *vcpu, unsigned long msw, |