KVM: VMX: constify lookup tables
authorMathias Krause <minipli@googlemail.com>
Wed, 29 Aug 2012 23:30:19 +0000 (01:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 5 Sep 2012 09:42:09 +0000 (12:42 +0300)
commit772e031899fdf3c7636d66aae9b0b57d1aaebb93
tree967c68a299a10e634409d6f03d9d15e96073bc87
parentf1d248315afc55771c3991b934014daa154d05f1
KVM: VMX: constify lookup tables

We use vmcs_field_to_offset_table[], kvm_vmx_segment_fields[] and
kvm_vmx_exit_handlers[] as lookup tables only -- make them r/o.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c