]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: vmx: Document the need for MSR_STAR in i386 builds
authorJim Mattson <jmattson@google.com>
Wed, 5 Dec 2018 23:28:59 +0000 (15:28 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:59:48 +0000 (17:59 +0100)
commit7eddc6ae8b0297ebc9fb417edb2c356a83e726c3
treea60697326daf78c1a8d8af20433f86c541352747
parente9c2192dd0de6862ec8ebad98c9712d6aeac6433
kvm: vmx: Document the need for MSR_STAR in i386 builds

Add a comment explaining why MSR_STAR must be included in
vmx_msr_index[] even for i386 builds.

The elided comment has not been relevant since move_msr_up() was
introduced in commit e646d1bf6d9eb ("KVM: VMX: Avoid saving and
restoring msrs on lightweight vmexit").

Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c