Re: [PATCH] spapr: Fix buffer overflow in spapr_numa_associativity_init()

2020-12-27 Thread David Gibson
On Fri, Dec 18, 2020 at 02:53:24PM +0100, Greg Kurz wrote: > Running a guest with 128 NUMA nodes crashes QEMU: > > ../../util/error.c:59: error_setv: Assertion `*errp == NULL' failed. > > The crash happens when setting the FWNMI migration blocker: > > 2861 if (spapr_get_cap(spapr,

Re: [PATCH] spapr: Fix buffer overflow in spapr_numa_associativity_init()

2020-12-18 Thread Greg Kurz
On Fri, 18 Dec 2020 16:16:49 +0100 Philippe Mathieu-Daudé wrote: > On 12/18/20 2:53 PM, Greg Kurz wrote: > > Running a guest with 128 NUMA nodes crashes QEMU: > > > > ../../util/error.c:59: error_setv: Assertion `*errp == NULL' failed. > > > > The crash happens when setting the FWNMI migration

Re: [PATCH] spapr: Fix buffer overflow in spapr_numa_associativity_init()

2020-12-18 Thread Philippe Mathieu-Daudé
On 12/18/20 2:53 PM, Greg Kurz wrote: > Running a guest with 128 NUMA nodes crashes QEMU: > > ../../util/error.c:59: error_setv: Assertion `*errp == NULL' failed. > > The crash happens when setting the FWNMI migration blocker: > > 2861 if (spapr_get_cap(spapr, SPAPR_CAP_FWNMI) ==

[PATCH] spapr: Fix buffer overflow in spapr_numa_associativity_init()

2020-12-18 Thread Greg Kurz
Running a guest with 128 NUMA nodes crashes QEMU: ../../util/error.c:59: error_setv: Assertion `*errp == NULL' failed. The crash happens when setting the FWNMI migration blocker: 2861if (spapr_get_cap(spapr, SPAPR_CAP_FWNMI) == SPAPR_CAP_ON) { 2862/* Create the error string

Re: [PATCH] spapr: Fix buffer overflow in spapr_numa_associativity_init()

2020-12-18 Thread Daniel Henrique Barboza
On 12/18/20 10:53 AM, Greg Kurz wrote: Running a guest with 128 NUMA nodes crashes QEMU: ../../util/error.c:59: error_setv: Assertion `*errp == NULL' failed. The crash happens when setting the FWNMI migration blocker: 2861if (spapr_get_cap(spapr, SPAPR_CAP_FWNMI) == SPAPR_CAP_ON) {