Re: [Qemu-devel] [PATCH] spapr: remove the 'nr_servers' field from the machine

2017-04-11 Thread David Gibson
On Wed, Apr 05, 2017 at 08:37:44AM +0200, Cédric Le Goater wrote: > xics_system_init() does not need 'nr_servers' anymore as it is only > used to define the 'interrupt-controller' node in the device tree. So > let's just compute the value when calling spapr_dt_xics(). > > This also gives us an opp

[Qemu-devel] [PATCH] spapr: remove the 'nr_servers' field from the machine

2017-04-04 Thread Cédric Le Goater
xics_system_init() does not need 'nr_servers' anymore as it is only used to define the 'interrupt-controller' node in the device tree. So let's just compute the value when calling spapr_dt_xics(). This also gives us an opportunity to simplify the xics_system_init() routine and introduce a specific