diff options
author | Avi Kivity <avi@qumranet.com> | 2008-04-14 13:10:21 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-14 13:10:21 +0300 |
commit | fc6ac4faee88b6c8c12fb8c970246d0eaacd1aa2 (patch) | |
tree | 0209d1a6e81bfb71a191f85a75c8d8be54b1bd50 | |
parent | 2e9283fb0ad0a3fe1580f2d95505022cce9c93a7 (diff) |
KVM: SVM: force a new asid when initializing the vmcbkvm-66rc1
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>
-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..f07cd1b0934f 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); } static int svm_vcpu_reset(struct kvm_vcpu *vcpu) |