KVM: x86 emulator: add a new "implied 1" Src decode type
authorGuillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Thu, 4 Dec 2008 13:27:38 +0000 (14:27 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:42 +0000 (16:55 +0200)
commitbfcadf83ec5aafe600e73dd427d997db7bcc1d12
tree955241dfdd3cc4c9cee5c67a04aa0a75f2a91bb8
parent0dc8d10f7d848b63c8d32cf6fd31ba7def792ac9
KVM: x86 emulator: add a new "implied 1" Src decode type

Add SrcOne operand type when we need to decode an implied '1' like with
regular shift instruction

Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86_emulate.c