]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: split dst decode to a generic decode_operand()
authorAvi Kivity <avi@redhat.com>
Tue, 13 Sep 2011 07:45:41 +0000 (10:45 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:48 +0000 (19:52 +0300)
commitda4ad044df848d1d99976514d83db76210adb1f0
treecea278f1fa7d9edb1581e0704b44da23be7561cc
parent5b95663bdc03b5131cd12b0b561c4693bbb2cbc2
KVM: x86 emulator: split dst decode to a generic decode_operand()

Instead of decoding each operand using its own code, use a generic
function.  Start with the destination operand.

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