Re: [Qemu-devel] [Qemu-ppc] [PATCH] hw/ppc/spapr_cpu_core: Add a proper check for spapr machine

2017-08-13 Thread Thomas Huth
On 14.08.2017 05:24, David Gibson wrote: > On Sat, Aug 12, 2017 at 12:16:51PM +0200, Greg Kurz wrote: >> On Sat, 12 Aug 2017 10:38:10 +0200 >> Thomas Huth wrote: >> >>> QEMU currently crashes when the user tries to add a spapr-cpu-core >>> on a non-pseries machine: >>> >>> $ qemu-system-ppc64 -S -

Re: [Qemu-devel] [Qemu-ppc] [PATCH] hw/ppc/spapr_cpu_core: Add a proper check for spapr machine

2017-08-13 Thread David Gibson
On Sat, Aug 12, 2017 at 12:16:51PM +0200, Greg Kurz wrote: > On Sat, 12 Aug 2017 10:38:10 +0200 > Thomas Huth wrote: > > > QEMU currently crashes when the user tries to add a spapr-cpu-core > > on a non-pseries machine: > > > > $ qemu-system-ppc64 -S -machine ppce500,accel=tcg \ > >

Re: [Qemu-devel] [Qemu-ppc] [PATCH] hw/ppc/spapr_cpu_core: Add a proper check for spapr machine

2017-08-13 Thread Greg Kurz
On Sat, 12 Aug 2017 12:16:51 +0200 Greg Kurz wrote: > On Sat, 12 Aug 2017 10:38:10 +0200 > Thomas Huth wrote: > > > QEMU currently crashes when the user tries to add a spapr-cpu-core > > on a non-pseries machine: > > > > $ qemu-system-ppc64 -S -machine ppce500,accel=tcg \ > >

Re: [Qemu-devel] [Qemu-ppc] [PATCH] hw/ppc/spapr_cpu_core: Add a proper check for spapr machine

2017-08-12 Thread Greg Kurz
On Sat, 12 Aug 2017 10:38:10 +0200 Thomas Huth wrote: > QEMU currently crashes when the user tries to add a spapr-cpu-core > on a non-pseries machine: > > $ qemu-system-ppc64 -S -machine ppce500,accel=tcg \ > -device POWER5+_v2.1-spapr-cpu-core > hw/ppc/spapr_cpu_core.c:178:s