KVM: Drop bogus x86_decode_insn() error check
authorAvi Kivity <avi@redhat.com>
Tue, 1 Feb 2011 14:32:02 +0000 (16:32 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:28 +0000 (13:08 -0300)
commit3e90943907ff84cf0379a57c01c296a9b33c903e
treea09df0ce177e23905773fe2b19c49d0b229c25b0
parent0bb8865979629a9dfc6761f8f4d47926d539daa0
KVM: Drop bogus x86_decode_insn() error check

x86_decode_insn() doesn't return X86EMUL_* values, so the check
for X86EMUL_PROPOGATE_FAULT will always fail.  There is a proper
check later on, so there is no need for a replacement for this
code.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c