summary refs log tree commit diff stats
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-05-20 17:33:28 +0200
committerAlexander Graf <agraf@suse.de>2011-05-20 17:35:13 +0200
commitfb8b273579eaa1e6cee4017e4b23104e17a36f07 (patch)
tree3e39e998468033e7e1aa2f746bf966257504d85f /linux-user/main.c
parent22486aa04aa300db0cc5887d9612b4d486f0edac (diff)
downloadfocaccia-qemu-fb8b273579eaa1e6cee4017e4b23104e17a36f07.tar.gz
focaccia-qemu-fb8b273579eaa1e6cee4017e4b23104e17a36f07.zip
s390x: complain when allocating ram fails
While trying out the > 64GB guest RAM patch, I hit some virtual address
limitations of my host system, which resulted in mmap failing. Unfortunately,
qemu didn't tell me about this failure, but just used the NULL pointer
happily, resulting in either segmentation faults or other fun errors.

To spare other users from tracing this down, let's print a nice message
instead so the user can figure out what's wrong from there.

Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions