Re: [Qemu-devel] [PATCH v2 01/22] ppc/xics: remove set_nr_irqs() handler from XICSStateClass

2017-02-24 Thread Cédric Le Goater
On 02/22/2017 04:21 AM, David Gibson wrote: > On Thu, Feb 16, 2017 at 02:47:24PM +0100, Cédric Le Goater wrote: >> Today, the ICS (Interrupt Controller Source) object is created and >> realized by the init and realize routines of the XICS object, but some >> of the parameters are only known at the

Re: [Qemu-devel] [PATCH v2 01/22] ppc/xics: remove set_nr_irqs() handler from XICSStateClass

2017-02-21 Thread David Gibson
On Thu, Feb 16, 2017 at 02:47:24PM +0100, Cédric Le Goater wrote: > Today, the ICS (Interrupt Controller Source) object is created and > realized by the init and realize routines of the XICS object, but some > of the parameters are only known at the machine level. > > These parameters are passed f

[Qemu-devel] [PATCH v2 01/22] ppc/xics: remove set_nr_irqs() handler from XICSStateClass

2017-02-16 Thread Cédric Le Goater
Today, the ICS (Interrupt Controller Source) object is created and realized by the init and realize routines of the XICS object, but some of the parameters are only known at the machine level. These parameters are passed from the sPAPR machine to the ICS object in a rather convoluted way using pro