Re: [Qemu-devel] [PATCH] Tell users about out-of-memory errors

2010-01-26 Thread Anthony Liguori
On 01/21/2010 03:24 PM, Stefan Weil wrote: Aborting without an error message when memory is short is not helpful, so print the reason for the abort. Try qemu -m 100 or qemu -m 2000 (win32) to force an out-of-memory error. v2: * Fix error message for win32. * Fix error messa

[Qemu-devel] [PATCH] Tell users about out-of-memory errors

2010-01-21 Thread Stefan Weil
Aborting without an error message when memory is short is not helpful, so print the reason for the abort. Try qemu -m 100 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 th

Re: [Qemu-devel] [PATCH] Tell users about out-of-memory errors

2010-01-20 Thread malc
On Wed, 20 Jan 2010, Stefan Weil wrote: > Aborting without an error message when memory is short > is not helpful, so print the reason for the abort. > > Try > qemu -m 100 > to force an out-of-memory error. The patch is wrong for, at least, Windows. > > Signed-off-by: Stefan Weil >

[Qemu-devel] [PATCH] Tell users about out-of-memory errors

2010-01-20 Thread Stefan Weil
Aborting without an error message when memory is short is not helpful, so print the reason for the abort. Try qemu -m 100 to force an out-of-memory error. Signed-off-by: Stefan Weil --- osdep.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/osdep.c b/o