On Tue, Aug 29, 2017 at 06:20:53PM -0300, Eduardo Habkost wrote: > 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 <ehabk...@redhat.com> > --- > util/oslib-posix.c | 2 ++ > 1 file changed, 2 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>