]> 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)
commit142deb1aa979e01c16beb47629306d57a1f972ac
treecea278f1fa7d9edb1581e0704b44da23be7561cc
parent4d1a08ec9f624e0c99ab14a2dc536c6c856455de
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