Improve error reporting on file access
commit850810d01b45e6ce99ac6696773e967890db2937
authorJustin M. Forbes <jmforbes@linuxtx.org>
Thu, 1 Oct 2009 14:42:56 +0000 (1 09:42 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 19:02:08 +0000 (5 14:02 -0500)
treea89667c52277cd09bd7fef10ea33a68715a15809
parent6c098407ef2c56cf6b42d6e3b545b26eaaff2edf
Improve error reporting on file access

By making the error reporting include strerror(errno), it gives the user
a bit more indication as to why qemu failed.  This is particularly
important for people running qemu as a non root user.

Signed-off-by: Justin M. Forbes <jforbes@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c
vl.c