Skip to content
Snippets Groups Projects
Commit dee734a7 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: adjust SEV for commit 7e8e6eed


Since the ASID is now stored in svm->asid, pre_sev_run should also place
it there and not directly in the VMCB control area.

Reported-by: default avatarAshish Kalra <Ashish.Kalra@amd.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 8cce12b3
No related branches found
No related tags found
1 merge request!312camera and mipi fixes wrt power management
...@@ -1187,7 +1187,7 @@ void pre_sev_run(struct vcpu_svm *svm, int cpu) ...@@ -1187,7 +1187,7 @@ void pre_sev_run(struct vcpu_svm *svm, int cpu)
int asid = sev_get_asid(svm->vcpu.kvm); int asid = sev_get_asid(svm->vcpu.kvm);
/* Assign the asid allocated with this SEV guest */ /* Assign the asid allocated with this SEV guest */
svm->vmcb->control.asid = asid; svm->asid = asid;
/* /*
* Flush guest TLB: * Flush guest TLB:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment