aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/svm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 284c34c997a4..e188d9e0db91 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -189,6 +189,7 @@ enum {
189 VMCB_INTERCEPTS, /* Intercept vectors, TSC offset, 189 VMCB_INTERCEPTS, /* Intercept vectors, TSC offset,
190 pause filter count */ 190 pause filter count */
191 VMCB_PERM_MAP, /* IOPM Base and MSRPM Base */ 191 VMCB_PERM_MAP, /* IOPM Base and MSRPM Base */
192 VMCB_ASID, /* ASID */
192 VMCB_DIRTY_MAX, 193 VMCB_DIRTY_MAX,
193}; 194};
194 195
@@ -1488,6 +1489,8 @@ static void new_asid(struct vcpu_svm *svm, struct svm_cpu_data *sd)
1488 1489
1489 svm->asid_generation = sd->asid_generation; 1490 svm->asid_generation = sd->asid_generation;
1490 svm->vmcb->control.asid = sd->next_asid++; 1491 svm->vmcb->control.asid = sd->next_asid++;
1492
1493 mark_dirty(svm->vmcb, VMCB_ASID);
1491} 1494}
1492 1495
1493static void svm_set_dr7(struct kvm_vcpu *vcpu, unsigned long value) 1496static void svm_set_dr7(struct kvm_vcpu *vcpu, unsigned long value)