]> git.proxmox.com Git - mirror_qemu.git/commit
apic: Report current_count via 'info lapic'
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 7 Feb 2020 06:43:42 +0000 (07:43 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 23:26:55 +0000 (19:26 -0400)
commit6e083c0de41a606f304168fce75ea77f3c031f98
tree6e59f9ccd8278ff3556b1da88158fbf537905c2c
parent86f13ef31806e5f829ee3d9ed82694f44dd1c02d
apic: Report current_count via 'info lapic'

This is helpful when debugging stuck guest timers.

As we need apic_get_current_count for that, and it is really not
emulation specific, move it to apic_common.c and export it. Fix its
style at this chance as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <e00e2896-ca5b-a929-de7a-8e5762f0c1c2@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/intc/apic.c
hw/intc/apic_common.c
include/hw/i386/apic_internal.h
target/i386/helper.c