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(-) -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html