KVM: x86 emulator: populate OP_MEM operand during decoding.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:20 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:20 +0000 (12:16 +0300)
commit69f55cb11e8d789433d111ac3a0f60be37a1ae01
treebdcaba6b5676dc9d6205b5d51a609e2b3b4d2aa0
parentceffb4597253b2420d2f171d8b1cdf2cd3137989
KVM: x86 emulator: populate OP_MEM operand during decoding.

All struct operand fields are initialized during decoding for all
operand types except OP_MEM, but there is no reason for that. Move
OP_MEM operand initialization into decoding stage for consistency.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c