diff options
author | Mathias Krause <minipli@googlemail.com> | 2012-08-30 01:30:19 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-09-05 12:42:09 +0300 |
commit | 772e031899fdf3c7636d66aae9b0b57d1aaebb93 (patch) | |
tree | 967c68a299a10e634409d6f03d9d15e96073bc87 /virt/kvm/kvm_main.c | |
parent | f1d248315afc55771c3991b934014daa154d05f1 (diff) | |
download | lwn-772e031899fdf3c7636d66aae9b0b57d1aaebb93.tar.gz lwn-772e031899fdf3c7636d66aae9b0b57d1aaebb93.zip |
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>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions