Re: [Qemu-devel] [PATCH 1/3] spapr: introduce a spapr_irq class 'nr_msis' attribute

2018-09-12 Thread David Gibson
On Tue, Sep 11, 2018 at 06:41:24AM +0200, Cédric Le Goater wrote: > On 09/11/2018 03:48 AM, David Gibson wrote: > > On Mon, Sep 10, 2018 at 01:02:20PM +0200, Cédric Le Goater wrote: > > 11;rgb://> The number of MSI interrupts a sPAPR machine can > > allocate is in direct > >> relation

Re: [Qemu-devel] [PATCH 1/3] spapr: introduce a spapr_irq class 'nr_msis' attribute

2018-09-10 Thread Cédric Le Goater
On 09/11/2018 03:48 AM, David Gibson wrote: > On Mon, Sep 10, 2018 at 01:02:20PM +0200, Cédric Le Goater wrote: > 11;rgb://> The number of MSI interrupts a sPAPR machine can > allocate is in direct >> relation with the number of interrupts of the sPAPRIrq backend. Define >> statically

Re: [Qemu-devel] [PATCH 1/3] spapr: introduce a spapr_irq class 'nr_msis' attribute

2018-09-10 Thread David Gibson
On Mon, Sep 10, 2018 at 01:02:20PM +0200, Cédric Le Goater wrote: 11;rgb://> The number of MSI interrupts a sPAPR machine can allocate is in direct > relation with the number of interrupts of the sPAPRIrq backend. Define > statically this value at the sPAPRIrq class level. > > Signed-

[Qemu-devel] [PATCH 1/3] spapr: introduce a spapr_irq class 'nr_msis' attribute

2018-09-10 Thread Cédric Le Goater
The number of MSI interrupts a sPAPR machine can allocate is in direct relation with the number of interrupts of the sPAPRIrq backend. Define statically this value at the sPAPRIrq class level. Signed-off-by: Cédric Le Goater --- include/hw/ppc/spapr_irq.h | 1 + hw/ppc/spapr_irq.c | 9 ++