Files
qemu-esp-boards/hw
Thomas Huth 6516367fc0 hw/core/generic-loader: Fix crash when running without CPU
When running QEMU with "-M none -device loader,file=kernel.elf", it
currently crashes with a segmentation fault, because the "none"-machine
does not have any CPU by default and the generic loader code tries
to dereference s->cpu. Fix it by adding an appropriate check for a
NULL pointer.

Reported-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2017-05-10 10:19:23 +03:00
..
2017-04-05 17:23:52 +02:00
2017-03-27 12:14:45 +02:00
2017-04-26 12:00:42 +10:00
2017-04-05 17:23:52 +02:00
2017-02-24 10:37:21 +00:00
2017-02-28 20:40:36 +01:00
2017-05-07 09:57:51 +03:00
2017-04-24 12:32:12 +01:00
2017-04-25 11:04:34 -07:00