lkml.org 
[lkml]   [2021]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] KVM: x86: add hint to skip hidden rdpkru under kvm_load_host_xsave_state
From
Date
On 17/05/21 15:54, Dave Hansen wrote:
> On 5/13/21 10:11 PM, Andy Lutomirski wrote:
>> I don't even want to think about what happens if a perf NMI hits and
>> accesses host user memory while the guest PKRU is live (on VMX -- I
>> think this can't happen on SVM).
>
> What's the relevant difference between SVM and VMX here? I'm missing
> something.

SVM has the global interrupt flag that blocks NMIs and SMIs, and PKRU is
loaded while GIF=0.

Paolo

\
 
 \ /
  Last update: 2021-05-17 18:45    [W:0.112 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site