-
Eduardo Habkost authored
If QEMU is running on a system that's out of memory and mmap() fails, QEMU aborts with no error message at all, making it hard to debug the reason for the failure. Add perror() calls that will print error information before aborting. Signed-off-by:
Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by:
Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by:
Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20170829212053.6003-1-ehabkost@redhat.com
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>Eduardo Habkost authoredIf QEMU is running on a system that's out of memory and mmap() fails, QEMU aborts with no error message at all, making it hard to debug the reason for the failure. Add perror() calls that will print error information before aborting. Signed-off-by:
Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by:
Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by:
Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20170829212053.6003-1-ehabkost@redhat.com
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Loading