summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-08-26 16:17:26 +0300
committerAvi Kivity <avi@redhat.com>2009-08-26 16:17:26 +0300
commit323d3b06db8bf2d8e4c5ed1a390668ae7b1b84bf (patch)
treede40c8ea3a573b84fbad0b9280f29d701695adee /arch
parent050ef47524c7276791493b0fac21010dd49a757a (diff)
Revert "KVM: x86 emulator: Report unhandled instructions"
This reverts commit ea67fbbcf346a15b1e8e18cff7c64c248972b961. Unhandled instructions can and do occur in normal runs. This needs to be made optional so as not to spam the logs. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/emulate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 15593e814b92..0644d3df621a 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2194,7 +2194,6 @@ writeback:
done:
if (rc == X86EMUL_UNHANDLEABLE) {
- kvm_report_emulation_failure(ctxt->vcpu, "unhandled instruction");
c->eip = saved_eip;
return -1;
}
@@ -2468,7 +2467,7 @@ twobyte_insn:
goto writeback;
cannot_emulate:
- kvm_report_emulation_failure(ctxt->vcpu, "unhandled instruction");
+ DPRINTF("Cannot emulate %02x\n", c->b);
c->eip = saved_eip;
return -1;
}