Re: [PATCH 0/2] KVM: x86: Emulate L2 triple fault without killing L1

2021-03-02 Thread Paolo Bonzini
On 02/03/21 18:45, Sean Christopherson wrote: If KVM (L0) intercepts #GP, but L1 does not, then L2 can kill L1 by triggering triple fault. On both VMX and SVM, if the CPU hits a fault while vectoring an injected #DF (or I supposed any #DF), any intercept from the hypervisor takes priority over t

Re: [PATCH 0/2] KVM: x86: Emulate L2 triple fault without killing L1

2021-03-02 Thread Sean Christopherson
On Tue, Mar 02, 2021, Paolo Bonzini wrote: > On 02/03/21 18:45, Sean Christopherson wrote: > > If KVM (L0) intercepts #GP, but L1 does not, then L2 can kill L1 by > > triggering triple fault. On both VMX and SVM, if the CPU hits a fault > > while vectoring an injected #DF (or I supposed any #DF),

Re: [PATCH 0/2] KVM: x86: Emulate L2 triple fault without killing L1

2021-03-02 Thread Paolo Bonzini
On 02/03/21 18:45, Sean Christopherson wrote: If KVM (L0) intercepts #GP, but L1 does not, then L2 can kill L1 by triggering triple fault. On both VMX and SVM, if the CPU hits a fault while vectoring an injected #DF (or I supposed any #DF), any intercept from the hypervisor takes priority over t