Re: [PATCH v2 01/14] KVM: SVM: Zero out the VMCB array used to track SEV ASID association

2021-01-14 Thread Brijesh Singh
On 1/13/21 6:36 PM, Sean Christopherson wrote: > Zero out the array of VMCB pointers so that pre_sev_run() won't see > garbage when querying the array to detect when an SEV ASID is being > associated with a new VMCB. In practice, reading random values is all > but guaranteed to be benign as a

Re: [PATCH v2 01/14] KVM: SVM: Zero out the VMCB array used to track SEV ASID association

2021-01-14 Thread Sean Christopherson
On Thu, Jan 14, 2021, Tom Lendacky wrote: > On 1/13/21 6:36 PM, Sean Christopherson wrote: > > Zero out the array of VMCB pointers so that pre_sev_run() won't see > > garbage when querying the array to detect when an SEV ASID is being > > associated with a new VMCB. In practice, reading random

Re: [PATCH v2 01/14] KVM: SVM: Zero out the VMCB array used to track SEV ASID association

2021-01-14 Thread Tom Lendacky
On 1/13/21 6:36 PM, Sean Christopherson wrote: Zero out the array of VMCB pointers so that pre_sev_run() won't see garbage when querying the array to detect when an SEV ASID is being associated with a new VMCB. In practice, reading random values is all but guaranteed to be benign as a false

[PATCH v2 01/14] KVM: SVM: Zero out the VMCB array used to track SEV ASID association

2021-01-13 Thread Sean Christopherson
Zero out the array of VMCB pointers so that pre_sev_run() won't see garbage when querying the array to detect when an SEV ASID is being associated with a new VMCB. In practice, reading random values is all but guaranteed to be benign as a false negative (which is extremely unlikely on its own)