KVM: SVM: constify lookup tables
authorMathias Krause <minipli@googlemail.com>
Wed, 29 Aug 2012 23:30:20 +0000 (01:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 5 Sep 2012 09:42:14 +0000 (12:42 +0300)
commit09941fbb712655cde9b350852be7a99a6f61a03f
tree95c2a7337fdba610a3bae938c049e13eb4c1083a
parent772e031899fdf3c7636d66aae9b0b57d1aaebb93
KVM: SVM: constify lookup tables

We never modify direct_access_msrs[], msrpm_ranges[],
svm_exit_handlers[] or x86_intercept_map[] at runtime.
Mark them r/o.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c