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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1187,7 +1187,7 @@ void pre_sev_run(struct vcpu_svm *svm, int cpu)
	int asid = sev_get_asid(svm->vcpu.kvm);

	/* Assign the asid allocated with this SEV guest */
	svm->vmcb->control.asid = asid;
	svm->asid = asid;

	/*
	 * Flush guest TLB: