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