Skip to contentSkip to conversation

HMP queue

GIT PULL Applied Dr. David Alan Gilbert (git) 2 participants 3 messages Oct 4, 2016 – Oct 6, 2016

lore
Share & tools
lore
#0 lore raw

From: "Dr. David Alan Gilbert" <[email protected]>

The following changes since commit bbc4c3f4f3c624e2de64fdcb79f4dd8c1a508e9d:

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2016-10-04 14:25:08 +0100)

are available in the git repository at:

git://github.com/dagrh/qemu.git tags/pull-hmp-20161004

for you to fetch changes up to 456d97d364e34adc4e68cbd51c2ad6ecd548492d:

hmp: fix qemu crash due to ioapic state dump w/ split irqchip (2016-10-04 17:16:15 +0100)

----------------------------------------------------------------
HMP pull

Just Wanpeng's patch this time, but this pull is as much about me checking out my process.

----------------------------------------------------------------
Wanpeng Li (1):
hmp: fix qemu crash due to ioapic state dump w/ split irqchip

 target-i386/monitor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
#1 lore raw

[Qemu-devel] [PULL 1/1] hmp: fix qemu crash due to ioapic state dump w/ split irqchip

From: Wanpeng Li <[email protected]>

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 <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Eduardo Habkost <[email protected]>

Message-Id: <[email protected]>

Message-ID: <[email protected]>

---
 target-i386/monitor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
target-i386/monitor.c +2 -1
index fccfe40..9a3b4d7 100644
@@ -504,7 +504,8 @@ void hmp_info_local_apic(Monitor *mon, const QDict *qdict)
 
 void hmp_info_io_apic(Monitor *mon, const QDict *qdict)
 {
-    if (kvm_irqchip_in_kernel()) {
+    if (kvm_irqchip_in_kernel() &&
+        !kvm_irqchip_is_split()) {
         kvm_ioapic_dump_state(mon, qdict);
     } else {
         ioapic_dump_state(mon, qdict);
Signature · 1 line
2.7.4
#2 lore raw
In reply to Dr. David Alan Gilbert (git)
Quoted 14 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

The following changes since commit bbc4c3f4f3c624e2de64fdcb79f4dd8c1a508e9d:

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2016-10-04 14:25:08 +0100)

are available in the git repository at:

git://github.com/dagrh/qemu.git tags/pull-hmp-20161004

for you to fetch changes up to 456d97d364e34adc4e68cbd51c2ad6ecd548492d:

hmp: fix qemu crash due to ioapic state dump w/ split irqchip (2016-10-04 17:16:15 +0100)

Quoted 7 lines

----------------------------------------------------------------
HMP pull

Just Wanpeng's patch this time, but this pull is as much about me checking out my process.

----------------------------------------------------------------

Looks good to me (though your GPG key seems a bit short on signatures).

Applied, thanks.
-- PMM