« Previous | Next » 

Revision d2d5adcb

IDd2d5adcb58d32e8ac6c168c4c2e72cf0f90dcab0

Added by Stefan Weil almost 14 years ago

Tell users about out-of-memory errors

Aborting without an error message when memory is short
is not helpful, so print the reason for the abort.

Try
qemu -m 1000000
or
qemu -m 2000 (win32)

to force an out-of-memory error.

v2:
  • Fix error message for win32.
  • Fix error message for posix_memalign.

Thanks to malc for the hints.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences