KVM: VMX: Move MSR_KERNEL_GS_BASE out of the vmx autoload msr area
authorAvi Kivity <avi@redhat.com>
Sun, 6 Sep 2009 12:55:37 +0000 (15:55 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:21 +0000 (09:32 +0200)
commit44ea2b1758d88ad822e65b1c4c21ca6164494e27
tree8fd83b5184e9e472f96f25186695543de531b2ba
parent3ce672d48400e0112fec7a3cb6bb2120493c6e11
KVM: VMX: Move MSR_KERNEL_GS_BASE out of the vmx autoload msr area

Currently MSR_KERNEL_GS_BASE is saved and restored as part of the
guest/host msr reloading.  Since we wish to lazy-restore all the other
msrs, save and reload MSR_KERNEL_GS_BASE explicitly instead of using
the common code.

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