]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7173c6564803bedd7e58386e9c8559d16e7a83b0
treea09df0ce177e23905773fe2b19c49d0b229c25b0
parent77f618e7aa6d3a52247577199cb07d17143c2c0f
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