Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a79d2f18 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: SVM: force a new asid when initializing the vmcb



Shutdown interception clears the vmcb, leaving the asid at zero (which is
illegal.  so force a new asid on vmcb initialization.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent e9571ed5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ static void init_vmcb(struct vcpu_svm *svm)
		save->cr3 = 0;
		save->cr4 = 0;
	}

	force_new_asid(&svm->vcpu);
}

static int svm_vcpu_reset(struct kvm_vcpu *vcpu)