Re: [Qemu-devel] [PATCH 2/2] add support for KVM_CAP_SPLIT_IRQCHIP

2015-11-18 Thread Paolo Bonzini
On 14/11/2015 00:25, Matt Gingell wrote: > +#define APIC_DELIVERY_MODE_SHIFT 8; > +#define APIC_POLARITY_SHIFT 14; > +#define APIC_TRIG_MODE_SHIFT 15; > + Stray semicolons, fixed and queued for QEMU 2.6. Paolo

[Qemu-devel] [PATCH 2/2] add support for KVM_CAP_SPLIT_IRQCHIP

2015-11-13 Thread Matt Gingell
This patch adds support for split IRQ chip mode. When KVM_CAP_SPLIT_IRQCHIP is enabled: 1.) The PIC, PIT, and IOAPIC are implemented in userspace while the LAPIC is implemented by KVM. 2.) The software IOAPIC delivers interrupts to the KVM LAPIC via kvm_set_irq. Interrupt delivery