|
From: | Anthony Liguori |
Subject: | Re: [Qemu-commits] [COMMIT 850810d] Improve error reporting on file access |
Date: | Mon, 05 Oct 2009 15:46:02 -0500 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090825) |
malc wrote:
On Mon, 5 Oct 2009, Anthony Liguori wrote:From: Justin M. Forbes <address@hidden> 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.The neat being that some of the conditions under which this code runs do set errno while others have nothing to do with it..
Yeah but I figured that a bad errmsg is more useful than nothing.Getting errno to be reliable is tough because in these paths, there are various function calls that can throw off errno.
-- Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |