On Mon, Oct 19, 2020 at 01:05:19PM -0400, Paolo Bonzini wrote: > Allowing userspace to intercept reads to x2APIC MSRs when APICV is > fully enabled for the guest simply can't work. But more in general, > if the LAPIC is in-kernel, allowing accessed by userspace would be very > confusing. If userspace wants to intercept x2APIC MSRs, then it should > first disable in-kernel APIC. > > We could in principle allow userspace to intercept reads and writes to TPR, > and writes to EOI and SELF_IPI, but while that could be made it work, it > would still be silly. > > Cc: Alexander Graf <[email protected]> > Cc: Aaron Lewis <[email protected]> > Cc: Peter Xu <[email protected]> > Cc: Sean Christopherson <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]>
Acked-by: Peter Xu <[email protected]> -- Peter Xu

