KVM: VMX: Build move_msr_up also for x86-32
PATCH 1/1 KVM: VMX: Build move_msr_up also for x86-32
It's used now on 32-bit as well.
Signed-off-by Jan Kiszka <[email protected]>
---
arch/x86/kvm/vmx.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/kvm/vmx.c +0 -2
@@ -885,7 +885,6 @@ static void vmx_queue_exception(struct kvm_vcpu *vcpu, unsigned nr,/* * Swap MSR entry in host/guest MSR entry array. */ -#ifdef CONFIG_X86_64 static void move_msr_up (struct vcpu_vmx *vmx,int from,int to) {struct shared_msr_entry tmp;
@@ -894,7 +893,6 @@ static void move_msr_up(struct vcpu_vmx *vmx, int from, int to) vmx->guest_msrs[to] = vmx->guest_msrs[from]; vmx->guest_msrs[from] = tmp; } -#endif /* * Set up the vmcs to automatically save and restore system
Quoted 3 lines · Jan Kiszka
It's used now on 32-bit as well.
Already have that queued, thanks.
Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.