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/svm.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/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 95681ea16382..729f1cd93606 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -960,7 +960,7 @@ static int pf_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run) | |||
960 | ++svm->vcpu.stat.mmio_exits; | 960 | ++svm->vcpu.stat.mmio_exits; |
961 | return 0; | 961 | return 0; |
962 | case EMULATE_FAIL: | 962 | case EMULATE_FAIL: |
963 | vcpu_printf(&svm->vcpu, "%s: emulate fail\n", __FUNCTION__); | 963 | kvm_report_emulation_failure(&svm->vcpu, "pagetable"); |
964 | break; | 964 | break; |
965 | default: | 965 | default: |
966 | BUG(); | 966 | BUG(); |