Re: [PATCH v5 0/8] In-kernel XICS interrupt controller emulation

2013-04-27 Thread Paul Mackerras
On Fri, Apr 26, 2013 at 04:30:37PM +0200, Alexander Graf wrote: Very nice patch set. I've applie 1-7 of it to kvm-ppc-queue. So they will hopefully make it to 3.10. Please check for 8/8 whether a) You want to have a released kernel version without irq routing (irqfd) support. It makes

[PATCH] KVM: PPC: Book3S: Add API for in-kernel XICS emulation

2013-04-27 Thread Paul Mackerras
This adds the API for userspace to instantiate an XICS device in a VM and connect VCPUs to it. The API consists of a new device type for the KVM_CREATE_DEVICE ioctl, a new capability KVM_CAP_IRQ_XICS, which functions similarly to KVM_CAP_IRQ_MPIC, and the KVM_IRQ_LINE ioctl, which is used to

Re: [PATCH 16/42] KVM: Add KVM_IRQCHIP_NUM_PINS in addition to KVM_IOAPIC_NUM_PINS

2013-04-27 Thread Gleb Natapov
On Fri, Apr 26, 2013 at 08:30:11PM +0200, Alexander Graf wrote: The concept of routing interrupt lines to an irqchip is nothing that is IOAPIC specific. Every irqchip has a maximum number of pins that can be linked to irq lines. So let's add a new define that allows us to reuse generic code

Re: [PATCH 34/42] kvm: destroy emulated devices on VM exit

2013-04-27 Thread Gleb Natapov
On Fri, Apr 26, 2013 at 08:30:29PM +0200, Alexander Graf wrote: From: Scott Wood scottw...@freescale.com The hassle of getting refcounting right was greater than the hassle of keeping a list of devices to destroy on VM exit. Signed-off-by: Scott Wood scottw...@freescale.com Signed-off-by: