mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
hmp: added io apic dump state
Added the hmp command to query io apic state, may be usefull after guest crashes to understand IRQ routing in guest. Implementation is only for kvm here. The dump will look like (qemu) info ioapic ioapic id=0x00 sel=0x26 (redir[11]) pin 0 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical pin 1 0x0000000000000031 dest=0 vec=49 active-hi edge fixed physical ... pin 23 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical IRR (none) Remote IRR (none) Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Andreas Färber <afaerber@suse.de> Message-Id: <1442927901-1084-9-git-send-email-den@openvz.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
af59940735
commit
d665d696c5
@ -126,6 +126,22 @@ STEXI
|
||||
@item info lapic
|
||||
@findex lapic
|
||||
Show local APIC state
|
||||
ETEXI
|
||||
|
||||
#if defined(TARGET_I386)
|
||||
{
|
||||
.name = "ioapic",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show io apic state",
|
||||
.mhandler.cmd = hmp_info_io_apic,
|
||||
},
|
||||
#endif
|
||||
|
||||
STEXI
|
||||
@item info ioapic
|
||||
@findex ioapic
|
||||
Show io APIC state
|
||||
ETEXI
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user