• J
    target-i386: Add infrastructure for reporting TPR MMIO accesses · d362e757
    Jan Kiszka 提交于
    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: NJan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    d362e757
apic.h 936 字节