Re: [Qemu-devel] [PATCH v4 2/6] tests: don't check if qtest_spapr_boot() returns NULL

2016-10-14 Thread Greg Kurz
On Fri, 14 Oct 2016 10:58:51 +0200 Laurent Vivier wrote: > qtest_spapr_boot()/qtest_pc_boot()/qtest_boot() call qtest_vboot() > and qtest_vboot() calls g_malloc(), > and g_malloc() never fails: > if memory allocation fails, the application is terminated. > And even if qtest_vboot() would be usi

[Qemu-devel] [PATCH v4 2/6] tests: don't check if qtest_spapr_boot() returns NULL

2016-10-14 Thread Laurent Vivier
qtest_spapr_boot()/qtest_pc_boot()/qtest_boot() call qtest_vboot() and qtest_vboot() calls g_malloc(), and g_malloc() never fails: if memory allocation fails, the application is terminated. Signed-off-by: Laurent Vivier --- tests/libqos/libqos.c | 1 + tests/rtas-test.c | 1 - 2 files change