commit | a79d2f1805da02d7837ec2240f0093c53272fb3a | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Mon Apr 14 13:10:21 2008 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Apr 27 18:21:32 2008 +0300 |
tree | 351da350fd28c3fe31c1b527876ee6603a8436cf | |
parent | e9571ed54b2a290d61b98ad6f369f963159fe6da [diff] [blame] |
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 <avi@qumranet.com>
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 8d04aed..3379e13 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c
@@ -603,7 +603,7 @@ save->cr3 = 0; save->cr4 = 0; } - + force_new_asid(&svm->vcpu); } static int svm_vcpu_reset(struct kvm_vcpu *vcpu)