KVM: SVM: Fix copy&paste mistake in 32-bit host GS loading
PATCH 1/1 KVM: SVM: Fix copy&paste mistake in 32-bit host GS loading
From: Jan Kiszka <[email protected]>
Signed-off-by Jan Kiszka <[email protected]>
--- arch/x86/kvm/svm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/svm.c +1 -1
@@ -1022,7 +1022,7 @@ static void svm_vcpu_put(struct kvm_vcpu *vcpu)load_gs_index (svm->host.gs);wrmsrl (MSR_KERNEL_GS_BASE , current->thread.gs);#else -loadsegment (gs, gs_selector); +loadsegment (gs, svm->host.gs);#endif for (i =0 ; i <NR_HOST_SAVE_USER_MSRS ; i++)wrmsrl (host_save_user_msrs[i], svm->host_user_msrs[i]);
Signature · 1 line
1.7.1
Quoted 2 lines · Jan Kiszka
From: Jan Kiszka<[email protected]>
Applied, thanks. I'll go and set up a buildbot for i386.
Signature · 1 line
error compiling committee.c: too many arguments to function