commit | 054b1369679fb97582fc77f25a700d4290ff3e89 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed Sep 12 13:21:09 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Sat Oct 13 10:18:28 2007 +0200 |
tree | fc06afd41830c263f6c068d1bd743ef7fcf9637d | |
parent | fd2a76086527cbe074b08a8820253228cd919ece [diff] [blame] |
KVM: Improve emulation failure reporting Report failed opcodes from all locations. Signed-off-by: Avi Kivity <avi@qumranet.com>
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 95681ea..729f1cd 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c
@@ -960,7 +960,7 @@ ++svm->vcpu.stat.mmio_exits; return 0; case EMULATE_FAIL: - vcpu_printf(&svm->vcpu, "%s: emulate fail\n", __FUNCTION__); + kvm_report_emulation_failure(&svm->vcpu, "pagetable"); break; default: BUG();