Messages in this thread | | | Subject | Re: [PATCH] KVM: x86: add hint to skip hidden rdpkru under kvm_load_host_xsave_state | From | Paolo Bonzini <> | Date | Mon, 17 May 2021 18:43:56 +0200 |
| |
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
| |