Re: [Qemu-devel] [PATCH] pc_init: Fail on bad kernel

2011-09-14 Thread Anthony Liguori
On 09/14/2011 02:45 AM, Sasha Levin wrote: Ping? I replied on 9/9 with comments. Regards, Anthony Liguori On Sat, 2011-09-03 at 22:35 +0300, Sasha Levin wrote: When providing QEMU with a bad '-kernel' parameter, such as a file which is not really a kernel, QEMU will attempt to allocate a

Re: [Qemu-devel] [PATCH] pc_init: Fail on bad kernel

2011-09-14 Thread Sasha Levin
Ping? On Sat, 2011-09-03 at 22:35 +0300, Sasha Levin wrote: > When providing QEMU with a bad '-kernel' parameter, such as a file which > is not really a kernel, QEMU will attempt to allocate a huge amount of > memory and fail either with "Failed to allocate memory: Cannot allocate > memory" or a G

Re: [Qemu-devel] [PATCH] pc_init: Fail on bad kernel

2011-09-09 Thread Anthony Liguori
On 09/03/2011 02:35 PM, Sasha Levin wrote: When providing QEMU with a bad '-kernel' parameter, such as a file which is not really a kernel, QEMU will attempt to allocate a huge amount of memory and fail either with "Failed to allocate memory: Cannot allocate memory" or a GLib error: "GLib-ERROR *

[Qemu-devel] [PATCH] pc_init: Fail on bad kernel

2011-09-03 Thread Sasha Levin
When providing QEMU with a bad '-kernel' parameter, such as a file which is not really a kernel, QEMU will attempt to allocate a huge amount of memory and fail either with "Failed to allocate memory: Cannot allocate memory" or a GLib error: "GLib-ERROR **: gmem.c:170: failed to allocate 18446744073