projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cce12b
)
KVM: x86: adjust SEV for commit 7e8e6eed75e
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 30 Nov 2020 14:39:59 +0000
(09:39 -0500)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 3 Dec 2020 17:38:39 +0000
(12:38 -0500)
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: Ashish Kalra <Ashish.Kalra@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/svm/sev.c
b/arch/x86/kvm/svm/sev.c
index c0b14106258a7c84241fba9e7b94c2affbcf2cf1..3418bb18dae7feff8a3c831c505a6c7ecc266f77 100644
(file)
--- a/
arch/x86/kvm/svm/sev.c
+++ b/
arch/x86/kvm/svm/sev.c
@@
-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: