Re: [Qemu-devel] [PATCH v2 7/7] monitor: fix crash for platforms without a CPU 0

2016-09-06 Thread David Gibson
On Tue, Sep 06, 2016 at 08:28:48AM +0200, Cédric Le Goater wrote: > On 09/05/2016 06:27 AM, David Gibson wrote: > > On Wed, Aug 31, 2016 at 06:34:15PM +0200, Cédric Le Goater wrote: > >> On PowerNV, CPU ids start at 0x8 or 0x20, we don't have a CPU 0 > >> anymore. So let's use the first_cpu index t

Re: [Qemu-devel] [PATCH v2 7/7] monitor: fix crash for platforms without a CPU 0

2016-09-05 Thread Cédric Le Goater
On 09/05/2016 06:27 AM, David Gibson wrote: > On Wed, Aug 31, 2016 at 06:34:15PM +0200, Cédric Le Goater wrote: >> On PowerNV, CPU ids start at 0x8 or 0x20, we don't have a CPU 0 >> anymore. So let's use the first_cpu index to initialize the monitor. >> >> Signed-off-by: Cédric Le Goater > > So w

Re: [Qemu-devel] [PATCH v2 7/7] monitor: fix crash for platforms without a CPU 0

2016-09-04 Thread David Gibson
On Wed, Aug 31, 2016 at 06:34:15PM +0200, Cédric Le Goater wrote: > On PowerNV, CPU ids start at 0x8 or 0x20, we don't have a CPU 0 > anymore. So let's use the first_cpu index to initialize the monitor. > > Signed-off-by: Cédric Le Goater So we need a patch like this - amongst other fixes - in o

[Qemu-devel] [PATCH v2 7/7] monitor: fix crash for platforms without a CPU 0

2016-08-31 Thread Cédric Le Goater
On PowerNV, CPU ids start at 0x8 or 0x20, we don't have a CPU 0 anymore. So let's use the first_cpu index to initialize the monitor. Signed-off-by: Cédric Le Goater --- So that you can dump the cpu list with the monitor : (qemu) info cpus * CPU #8: nip=0x0010 thread