Re: [Qemu-devel] [PATCH] spapr: ensure we have at least one XICS server

2015-05-24 Thread David Gibson
On Wed, May 13, 2015 at 12:29:33PM +0200, Greg Kurz wrote: > XICS needs to know the upper value for cpu_index as it is used to compute > the number of servers: > > smp_cpus * kvmppc_smt_threads() / smp_threads > > When passing -smp cpus=1,threads=9 on a POWER8 host, we end up with: > > 1

[Qemu-devel] [PATCH] spapr: ensure we have at least one XICS server

2015-05-13 Thread Greg Kurz
XICS needs to know the upper value for cpu_index as it is used to compute the number of servers: smp_cpus * kvmppc_smt_threads() / smp_threads When passing -smp cpus=1,threads=9 on a POWER8 host, we end up with: 1 * 8 / 9 = 0 ... which leads to an assertion in both emulated: Number of