Re: [Qemu-devel] [PATCH 06/25] spapr: introduce a spapr_irq_get_qirq() helper

2017-11-24 Thread Cédric Le Goater
On 11/24/2017 04:18 AM, David Gibson wrote: > On Thu, Nov 23, 2017 at 02:29:36PM +0100, Cédric Le Goater wrote: >> xics_get_qirq() is only used by the sPAPR machine. Let's move it there >> and change its name to reflect its scope. It will be useful for XIVE >> support which will use its own set of

Re: [Qemu-devel] [PATCH 06/25] spapr: introduce a spapr_irq_get_qirq() helper

2017-11-23 Thread David Gibson
On Thu, Nov 23, 2017 at 02:29:36PM +0100, Cédric Le Goater wrote: > xics_get_qirq() is only used by the sPAPR machine. Let's move it there > and change its name to reflect its scope. It will be useful for XIVE > support which will use its own set of qirqs. > > Signed-off-by: Cédric Le Goater

[Qemu-devel] [PATCH 06/25] spapr: introduce a spapr_irq_get_qirq() helper

2017-11-23 Thread Cédric Le Goater
xics_get_qirq() is only used by the sPAPR machine. Let's move it there and change its name to reflect its scope. It will be useful for XIVE support which will use its own set of qirqs. Signed-off-by: Cédric Le Goater --- hw/intc/xics.c | 12