]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: Decode memory operands directly into a 'struct operand'
authorAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 12:40:19 +0000 (15:40 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:40 +0000 (10:50 +0200)
commit7c5026877522592eada3a3921cb31c91a2df69ee
treea4b4cd21579263b64c4287489a59f301d2c5e667
parent0f2b3883e120a948ab81929acbb22e27d419b1c3
KVM: x86 emulator: Decode memory operands directly into a 'struct operand'

Since modrm operand can be either register or memory, decoding it into
a 'struct operand', which can represent both, is simpler.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c