x86/vvmx: Drop sreg_to_index[]
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 3 Jan 2017 11:55:54 +0000 (11:55 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Jan 2017 12:22:55 +0000 (12:22 +0000)
commitf65c1290c0dc122df3ae88a5cf44da99554a6711
tree71364ac5923ddc70a8aacab899f2f63f94ebbcdd
parent718dcb95277caf39c3ab946be7352bac9acc5792
x86/vvmx: Drop sreg_to_index[]

Since c/s 0888d36b "x86/emul: Correct the decoding of SReg3 operands",
x86_seg_* have followed hardware encodings, meaning that this translation
table is now an identiy transform.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/vmx/vvmx.h