From: Avi Kivity Date: Mon, 14 Apr 2008 10:10:21 +0000 (+0300) Subject: KVM: SVM: force a new asid when initializing the vmcb X-Git-Tag: v2.6.26-rc1~1028^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a79d2f1805da02d7837ec2240f0093c53272fb3a;p=linux-2.6 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: Avi Kivity --- diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 8d04aed72f..3379e13d9b 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -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)