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/vmx.c | |
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/vmx.c')
-rw-r--r-- | drivers/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index c44c9ac79ca5..4f115a8e45ef 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c | |||
@@ -1798,7 +1798,7 @@ static int handle_exception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
1798 | ++vcpu->stat.mmio_exits; | 1798 | ++vcpu->stat.mmio_exits; |
1799 | return 0; | 1799 | return 0; |
1800 | case EMULATE_FAIL: | 1800 | case EMULATE_FAIL: |
1801 | vcpu_printf(vcpu, "%s: emulate fail\n", __FUNCTION__); | 1801 | kvm_report_emulation_failure(vcpu, "pagetable"); |
1802 | break; | 1802 | break; |
1803 | default: | 1803 | default: |
1804 | BUG(); | 1804 | BUG(); |