lkml.org 
[lkml]   [2020]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 00/35] SEV-ES hypervisor support
From
Date
On 16/09/20 02:19, Sean Christopherson wrote:
>
> TDX also selectively blocks/skips portions of other ioctl()s so that the
> TDX code itself can yell loudly if e.g. .get_cpl() is invoked. The event
> injection restrictions are due to direct injection not being allowed (except
> for NMIs); all IRQs have to be routed through APICv (posted interrupts) and
> exception injection is completely disallowed.
>
> kvm_vcpu_ioctl_x86_get_vcpu_events:
> if (!vcpu->kvm->arch.guest_state_protected)
> events->interrupt.shadow = kvm_x86_ops.get_interrupt_shadow(vcpu);

Perhaps an alternative implementation can enter the vCPU with immediate
exit until no events are pending, and then return all zeroes?

Paolo

\
 
 \ /
  Last update: 2020-11-30 16:36    [W:0.178 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site