qemu/target-i386
Pavel Butsykin 1f871d49e3 hmp: added local apic dump state
Added the hmp command to query local apic registers state, may be
usefull after guest crashes to understand IRQ routing in guest.

(qemu) info lapic
dumping local APIC state for CPU 0

LVT0    0x00010700 active-hi edge  masked                      ExtINT (vec 0)
LVT1    0x00000400 active-hi edge                              NMI
LVTPC   0x00010000 active-hi edge  masked                      Fixed  (vec 0)
LVTERR  0x000000fe active-hi edge                              Fixed  (vec 254)
LVTTHMR 0x00010000 active-hi edge  masked                      Fixed  (vec 0)
LVTT    0x000000ef active-hi edge                 one-shot     Fixed  (vec 239)
Timer   DCR=0x3 (divide by 16) initial_count = 61360
SPIV    0x000001ff APIC enabled, focus=off, spurious vec 255
ICR     0x000000fd physical edge de-assert no-shorthand
ICR2    0x00000001 cpu 1 (X2APIC ID)
ESR     0x00000000
ISR     (none)
IRR     239

APR 0x00 TPR 0x00 DFR 0x0f LDR 0x00 PPR 0x00

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-7-git-send-email-den@openvz.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-09-25 12:04:42 +02:00
..
arch_dump.c x86: Fuse g_malloc(); memset() into g_malloc0() 2014-12-15 12:21:02 +01:00
arch_memory_mapping.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
cc_helper_template.h
cc_helper.c target-i386: exception handling for other helper functions 2015-09-15 12:31:59 -07:00
cpu-qom.h i386/kvm: Hyper-v crash msrs set/get'ers and migration 2015-09-16 17:33:32 +02:00
cpu.c utils: rename strtosz to use qemu prefix 2015-09-25 12:04:41 +02:00
cpu.h hmp: added local apic dump state 2015-09-25 12:04:42 +02:00
excp_helper.c target-i386: introduce new raise_exception functions 2015-09-15 12:28:16 -07:00
fpu_helper.c target-i386: exception handling for FPU instructions 2015-09-15 12:28:16 -07:00
gdbstub.c target-i386: update fp status fix 2014-09-18 17:06:12 +02:00
helper.c hmp: added local apic dump state 2015-09-25 12:04:42 +02:00
helper.h target-i386: exception handling for seg_helper functions 2015-09-15 12:31:59 -07:00
int_helper.c target-i386: exception handling for div instructions 2015-09-15 12:28:16 -07:00
kvm_i386.h pc: add SMM property 2015-07-06 18:39:59 +02:00
kvm-stub.c pc: add SMM property 2015-07-06 18:39:59 +02:00
kvm.c i386/kvm: Hyper-v crash msrs set/get'ers and migration 2015-09-16 17:33:32 +02:00
machine.c i386/kvm: Hyper-v crash msrs set/get'ers and migration 2015-09-16 17:33:32 +02:00
Makefile.objs monitor: remove target-specific code from monitor.c 2015-09-16 17:33:32 +02:00
mem_helper.c target-i386: exception handling for memory helpers 2015-09-15 12:31:49 -07:00
misc_helper.c target-i386: exception handling for other helper functions 2015-09-15 12:31:59 -07:00
monitor.c hmp: added local apic dump state 2015-09-25 12:04:42 +02:00
ops_sse_header.h
ops_sse.h target-i386: exception handling for other helper functions 2015-09-15 12:31:59 -07:00
seg_helper.c target-i386: exception handling for seg_helper functions 2015-09-15 12:31:59 -07:00
shift_helper_template.h
smm_helper.c target-i386: use memory API to implement SMRAM 2015-06-05 17:36:39 +02:00
svm_helper.c target-i386: Use correct memory attributes for memory accesses 2015-06-05 17:10:00 +02:00
svm.h
TODO
translate.c target-i386: exception handling for seg_helper functions 2015-09-15 12:31:59 -07:00