Skip to content
  • Jan Kiszka's avatar
    kvm: x86: Add user space part for in-kernel APIC · 680c1c6f
    Jan Kiszka authored
    
    
    This introduces the alternative APIC device which makes use of KVM's
    in-kernel device model. External NMI injection via LINT1 is emulated by
    checking the current state of the in-kernel APIC, only injecting a NMI
    into the VCPU if LINT1 is unmasked and configured to DM_NMI.
    
    MSI is not yet supported, so we disable this when the in-kernel model is
    in use.
    
    CC: Lai Jiangshan <laijs@cn.fujitsu.com>
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    680c1c6f