diff options
author | Avi Kivity <avi@qumranet.com> | 2008-04-14 06:10:21 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 11:21:32 -0400 |
commit | a79d2f1805da02d7837ec2240f0093c53272fb3a (patch) | |
tree | 351da350fd28c3fe31c1b527876ee6603a8436cf /arch/x86/kvm | |
parent | e9571ed54b2a290d61b98ad6f369f963159fe6da (diff) |
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>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/svm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 8d04aed72f3a..3379e13d9b2c 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) | |||
603 | save->cr3 = 0; | 603 | save->cr3 = 0; |
604 | save->cr4 = 0; | 604 | save->cr4 = 0; |
605 | } | 605 | } |
606 | 606 | force_new_asid(&svm->vcpu); | |
607 | } | 607 | } |
608 | 608 | ||
609 | static int svm_vcpu_reset(struct kvm_vcpu *vcpu) | 609 | static int svm_vcpu_reset(struct kvm_vcpu *vcpu) |