Skip to content
  • Jan Kiszka's avatar
    target-i386: Add infrastructure for reporting TPR MMIO accesses · d362e757
    Jan Kiszka authored
    
    
    This will allow the APIC core to file a TPR access report. Depending on
    the accelerator and kernel irqchip mode, it will either be delivered
    right away or queued for later reporting.
    
    In TCG mode, we can restart the triggering instruction and can therefore
    forward the event directly. KVM does not allows us to restart, so we
    postpone the delivery of events recording in the user space APIC until
    the current instruction is completed.
    
    Note that KVM without in-kernel irqchip will report the address after
    the instruction that triggered the access.
    
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    d362e757