Skip to content

qemu-kvm: Switch to upstream irqchip services

Jan Kiszka kvm 2 versions – Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 1 replyApplied
  2. v29 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- rebased over latest qemu-kvm (next)
- included a trivial whitespace diff cleanup
- improve user experience of -no-kvm[-irqchip] by not resetting machine options, just appending the corresponding switches

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/10qemu-kvm: Move kvm_create_pit out of arch init codehw/i8254-kvm.c qemu-kvm-x86.c qemu-kvm.h +1 more+7 -90 replies
2/10qemu-kvm: Use machine options to configure qemu-kvm defaultshw/pc_piix.c kvm-all.c vl.c+17 -70 replies
3/10qemu-kvm: Use upstream irq routing serviceshw/device-assignment.c hw/msi.c hw/msix.c +9 more+25 -2110 replies
4/10qemu-kvm: Use upstream kvm_irqchip_createkvm-all.c qemu-kvm.c qemu-kvm.h +1 more+0 -480 replies
5/10qemu-kvm: Use upstream kvm-ioapichw/ioapic.c hw/pc_piix.c+2 -800 replies
6/10qemu-kvm: Use upstream kvm-i8259Makefile.objs Makefile.target hw/i8259.c +2 more+7 -1180 replies
7/10qemu-kvm: Drop unused kvm_get/set_irqchipqemu-kvm.c qemu-kvm.h+0 -510 replies
8/10qemu-kvm: Use upstream kvm_irqchip_set_irq instead of kvm_set_irqhw/msi.c hw/msix.c kvm-stub.c +2 more+4 -370 replies
9/10qemu-kvm: Use upstream kvm-apichw/apic.c hw/pc.c qemu-kvm-x86.c +2 more+4 -2160 replies
10/10qemu-kvm: Remove some spurious whitespace diffs to upstreamhw/i8254.c kvm.h target-i386/kvm.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/10] qemu-kvm: Switch to upstream irqchip services

Now that upstream has basic irqchip support, we can make use of it for qemu-kvm as well, removing another 700 lines of code here.

Changes in v3:
- rebased over latest qemu-kvm (next)
- included a trivial whitespace diff cleanup
- improve user experience of -no-kvm[-irqchip] by not resetting machine options, just appending the corresponding switches

Jan Kiszka (10):
qemu-kvm: Move kvm_create_pit out of arch init code
qemu-kvm: Use machine options to configure qemu-kvm defaults
qemu-kvm: Use upstream irq routing services
qemu-kvm: Use upstream kvm_irqchip_create
qemu-kvm: Use upstream kvm-ioapic
qemu-kvm: Use upstream kvm-i8259
qemu-kvm: Drop unused kvm_get/set_irqchip
qemu-kvm: Use upstream kvm_irqchip_set_irq instead of kvm_set_irq
qemu-kvm: Use upstream kvm-apic
qemu-kvm: Remove some spurious whitespace diffs to upstream

 Makefile.objs          |    2 +-
 Makefile.target        |    8 +-
 hw/apic.c              |  151 +-----------------------------------
 hw/device-assignment.c |   10 +-
 hw/i8254-kvm.c         |    3 +
 hw/i8254.c             |    1 -
 hw/i8259.c             |  108 -------------------------
 hw/ioapic.c            |   75 +-----------------
 hw/isa-bus.c           |    2 +-
 hw/msi.c               |    6 +-
 hw/msix.c              |   10 +-
 hw/pc.c                |    7 +-
 hw/pc_piix.c           |   23 ++----
 kvm-all.c              |   17 +----
 kvm-stub.c             |    6 +-
 kvm.h                  |   10 +-
 qemu-kvm-x86.c         |   85 +-------------------
 qemu-kvm.c             |  204 +-----------------------------------------------
 qemu-kvm.h             |   72 +----------------
 target-i386/kvm.c      |   18 ----
 vl.c                   |   10 +--
 21 files changed, 58 insertions(+), 770 deletions(-)
Signature · 1 line
1.7.3.4