qemu-irix/hw
Markus Armbruster df8abec8cb loader: Fix memory_region_init_resizeable_ram() error handling
Commit ef701d7 screwed up handling of out-of-memory conditions.
Before the commit, we report the error and exit(1), in one place.  The
commit lifts the error handling up the call chain some, to three
places.  Fine.  Except it uses &error_abort in these places, changing
the behavior from exit(1) to abort(), and thus undoing the work of
commit 3922825 "exec: Don't abort when we can't allocate guest
memory".

The previous commit fixed up uses of memory_region_init_ram().  One of
them was replaced by memory_region_init_resizeable_ram() [sic!] in
commit a166614, so Coccinelle missed it.  Fix it up.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1441983105-26376-4-git-send-email-armbru@redhat.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
2015-09-18 14:39:35 +02:00
..
9pfs
acpi
alpha
arm Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
audio
block Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
bt
char
core loader: Fix memory_region_init_resizeable_ram() error handling 2015-09-18 14:39:35 +02:00
cpu hw/cpu/{a15mpcore, a9mpcore}: Handle missing has_el3 CPU props gracefully 2015-09-14 14:39:49 +01:00
cris Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
display Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
dma * Support for jemalloc 2015-09-14 16:13:16 +01:00
gpio i.MX: Add GPIO device 2015-09-14 14:39:49 +01:00
i2c
i386 Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
ide
input Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
intc
ipack
isa
lm32
m68k Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
mem
microblaze Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
mips Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
misc * Support for jemalloc 2015-09-14 16:13:16 +01:00
moxie Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
net Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
nvram
openrisc Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
pci Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
pci-bridge
pci-host Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
pcmcia
ppc Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
s390x Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
scsi * Support for jemalloc 2015-09-14 16:13:16 +01:00
sd
sh4 Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
smbios
sparc Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
sparc64 Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
ssi
timer
tpm
tricore Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
unicore32 Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
usb
vfio
virtio
watchdog
xen
xenpv
xtensa Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
Makefile.objs