Skip to contentSkip to conversation

kvm/openpic: add kvm_irqchip_commit_routes

PATCH In review Scott Wood 2 participants 4 messages Jun 12, 2013

lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH 1/1 kvm/openpic: add kvm_irqchip_commit_routes

The patch that added kvm_irqchip_commit_routes was originally meant to come after the in-kernel mpic patch, and thus it updated hw/intc/openpic_kvm.c. However, it was applied before the in-kernel mpic patch (which creates hw/intc/openpic_kvm.c), and thus this hunk got lost.

---
 hw/intc/openpic_kvm.c |    2 ++
 1 file changed, 2 insertions(+)
hw/intc/openpic_kvm.c +2 -0
index 809b34b..17d0a35 100644
@@ -204,6 +204,8 @@ static int kvm_openpic_init(SysBusDevice *dev)
     kvm_msi_via_irqfd_allowed = true;
     kvm_gsi_routing_allowed = true;
 
+    kvm_irqchip_commit_routes(s);
+
     return 0;
 }
 
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 7 lines · Scott Wood

The patch that added kvm_irqchip_commit_routes was originally meant to come after the in-kernel mpic patch, and thus it updated hw/intc/openpic_kvm.c. However, it was applied before the in-kernel mpic patch (which creates hw/intc/openpic_kvm.c), and thus this hunk got lost.

I'll squash this in with your previous commit if you're ok with that.

Alex

Quoted 21 lines

---
hw/intc/openpic_kvm.c | 2 ++

1 file changed, 2 insertions(+)
hw/intc/openpic_kvm.c +2 -0
index 809b34b..17d0a35 100644
@@ -204,6 +204,8 @@ static int kvm_openpic_init(SysBusDevice *dev)
    kvm_msi_via_irqfd_allowed = true;
    kvm_gsi_routing_allowed = true;
 
+    kvm_irqchip_commit_routes(s);
+
    return 0;
 }
 
Signature · 1 line
1.7.10.4
author
#2 lore raw
Quoted 9 lines · Alexander Graf
Quoted 6 lines · Scott Wood

The patch that added kvm_irqchip_commit_routes was originally meant to come after the in-kernel mpic patch, and thus it updated hw/intc/openpic_kvm.c. However, it was applied before the in-kernel mpic patch (which creates hw/intc/openpic_kvm.c), and thus this hunk got lost.

Quoted 3 lines
Quoted 1 line

I'll squash this in with your previous commit if you're ok with that.

That's fine.

-Scott

#3 lore raw
Quoted 8 lines · Scott Wood
Quoted 7 lines · Alexander Graf
Quoted 6 lines · Scott Wood

The patch that added kvm_irqchip_commit_routes was originally meant to come after the in-kernel mpic patch, and thus it updated hw/intc/openpic_kvm.c. However, it was applied before the in-kernel mpic patch (which creates hw/intc/openpic_kvm.c), and thus this hunk got lost.

Quoted 4 lines
Quoted 2 lines
Quoted 1 line

I'll squash this in with your previous commit if you're ok with that.

That's fine.

Ok, done.

Alex