mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
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>
This commit is contained in:
parent
e9571ed54b
commit
a79d2f1805
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user