qemu-e2k/util
Markus Armbruster 39228250ce exec: Don't abort when we can't allocate guest memory
We abort() on memory allocation failure.  abort() is appropriate for
programming errors.  Maybe most memory allocation failures are
programming errors, maybe not.  But guest memory allocation failure
isn't, and aborting when the user asks for more memory than we can
provide is not nice.  exit(1) instead, and do it in just one place, so
the error message is consistent.

Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-id: 1375276272-15988-8-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
2013-09-12 11:45:32 -05:00
..
acl.c
aes.c aes: Remove unused code (NDEBUG, u16) 2013-07-27 11:22:53 +04:00
bitmap.c
bitops.c
cache-utils.c
compatfd.c
crc32c.c
cutils.c
envlist.c
error.c error: Add error_set_win32 and error_setg_win32 2013-09-09 14:17:57 -05:00
event_notifier-posix.c
event_notifier-win32.c
fifo8.c
hbitmap.c
hexdump.c
host-utils.c
iov.c iov: handle EOF in iov_send_recv 2013-08-06 10:41:56 +02:00
Makefile.objs throttle: Add a new throttling API implementing continuous leaky bucket. 2013-09-06 15:25:07 +02:00
module.c
notify.c
osdep.c
oslib-posix.c exec: Don't abort when we can't allocate guest memory 2013-09-12 11:45:32 -05:00
oslib-win32.c exec: Don't abort when we can't allocate guest memory 2013-09-12 11:45:32 -05:00
path.c
qemu-config.c
qemu-error.c
qemu-openpty.c
qemu-option.c option: Add assigned flag to QEMUOptionParameter 2013-08-30 15:28:52 +02:00
qemu-progress.c
qemu-sockets.c
qemu-thread-posix.c semaphore: fix a hangup problem under load on NetBSD hosts. 2013-08-05 11:48:00 -05:00
qemu-thread-win32.c
qemu-timer-common.c
throttle.c throttle: Add a new throttling API implementing continuous leaky bucket. 2013-09-06 15:25:07 +02:00
unicode.c
uri.c