Commit 19c3d285 authored by Avi Kivity's avatar Avi Kivity

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: default avatarAvi Kivity <avi@redhat.com>
parent ec2c7bce
...@@ -2194,7 +2194,6 @@ writeback: ...@@ -2194,7 +2194,6 @@ writeback:
done: done:
if (rc == X86EMUL_UNHANDLEABLE) { if (rc == X86EMUL_UNHANDLEABLE) {
kvm_report_emulation_failure(ctxt->vcpu, "unhandled instruction");
c->eip = saved_eip; c->eip = saved_eip;
return -1; return -1;
} }
...@@ -2468,7 +2467,7 @@ twobyte_insn: ...@@ -2468,7 +2467,7 @@ twobyte_insn:
goto writeback; goto writeback;
cannot_emulate: cannot_emulate:
kvm_report_emulation_failure(ctxt->vcpu, "unhandled instruction"); DPRINTF("Cannot emulate %02x\n", c->b);
c->eip = saved_eip; c->eip = saved_eip;
return -1; return -1;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment