aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index ddea391e78cd..490bec199887 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -2070,7 +2070,7 @@ static bool nested_svm_vmrun(struct vcpu_svm *svm)
2070 svm->vmcb->save.dr6 = nested_vmcb->save.dr6; 2070 svm->vmcb->save.dr6 = nested_vmcb->save.dr6;
2071 svm->vmcb->save.cpl = nested_vmcb->save.cpl; 2071 svm->vmcb->save.cpl = nested_vmcb->save.cpl;
2072 2072
2073 svm->nested.vmcb_msrpm = nested_vmcb->control.msrpm_base_pa; 2073 svm->nested.vmcb_msrpm = nested_vmcb->control.msrpm_base_pa & ~0x0fffULL;
2074 svm->nested.vmcb_iopm = nested_vmcb->control.iopm_base_pa & ~0x0fffULL; 2074 svm->nested.vmcb_iopm = nested_vmcb->control.iopm_base_pa & ~0x0fffULL;
2075 2075
2076 /* cache intercepts */ 2076 /* cache intercepts */