summary refs log tree commit diff stats
path: root/include/hw/lm32/lm32_pic.h
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@hotmail.com>2016-09-23 11:47:36 +0800
committerDr. David Alan Gilbert <dgilbert@redhat.com>2016-10-04 17:16:15 +0100
commit456d97d364e34adc4e68cbd51c2ad6ecd548492d (patch)
tree34e0c9d503e9427cf4c0f120b0779dd207388270 /include/hw/lm32/lm32_pic.h
parentbbc4c3f4f3c624e2de64fdcb79f4dd8c1a508e9d (diff)
downloadfocaccia-qemu-456d97d364e34adc4e68cbd51c2ad6ecd548492d.tar.gz
focaccia-qemu-456d97d364e34adc4e68cbd51c2ad6ecd548492d.zip
hmp: fix qemu crash due to ioapic state dump w/ split irqchip
The qemu will crash when info ioapic through hmp if irqchip
is split. Below message is splat:

KVM_GET_IRQCHIP failed: Unknown error -6

This patch fix it by dumping the ioapic state from the qemu
emulated ioapic if irqchip is split.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Message-Id: <1474602456-3232-1-git-send-email-wanpeng.li@hotmail.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-ID: <20160923090824.GF15411@pxdev.xzpeter.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/hw/lm32/lm32_pic.h')
0 files changed, 0 insertions, 0 deletions