aboutsummaryrefslogtreecommitdiffstats
path: root/acl.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-05-14 08:04:29 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-05-14 13:37:07 -0700
commitcf289fbe0669ad54965e9f378b7e7b4edea9d814 (patch)
treed14602cb7817a456b17a24c3422d890d27a51a59 /acl.c
parent10a4d62985dbafe9d40cae9b6fbcb9605b4c3af5 (diff)
downloadexternal_qemu-cf289fbe0669ad54965e9f378b7e7b4edea9d814.zip
external_qemu-cf289fbe0669ad54965e9f378b7e7b4edea9d814.tar.gz
external_qemu-cf289fbe0669ad54965e9f378b7e7b4edea9d814.tar.bz2
Check RAM availability before VM is initialized.
Quite often (especially on older XP machines) attempts to allocate large VM RAM is going to fail, and crash the emulator. Since it's failing deep inside QEMU, it's not really possible to provide the user with a meaningful explanation for the crash. So, before initializing VM we should check if QEMU is going to be able to allocate requested amount of RAM, and if not, try to come up with a recomendation. Change-Id: Id6213d50c70f6bd3b32c4df2ded96d8e3013ec40
Diffstat (limited to 'acl.c')
0 files changed, 0 insertions, 0 deletions