KVM: emulate: rework seg_override
authorBandan Das <bsd@redhat.com>
Wed, 16 Apr 2014 16:46:13 +0000 (12:46 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jul 2014 07:14:01 +0000 (09:14 +0200)
commit573e80fe04db1aa44e8303037f65716ba5c3a343
treef15305dc2d8d1fc9b8e20b05c05f5cf1f1ec0f9f
parentc44b4c6ab80eef3a9c52c7b3f0c632942e6489aa
KVM: emulate: rework seg_override

x86_decode_insn already sets a default for seg_override,
so remove it from the zeroed area. Also replace set/get functions
with direct access to the field.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c