qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-commits] [COMMIT 850810d] Improve error reporting on file acce


From: malc
Subject: Re: [Qemu-commits] [COMMIT 850810d] Improve error reporting on file access
Date: Tue, 6 Oct 2009 00:49:39 +0400 (MSD)

On Mon, 5 Oct 2009, Anthony Liguori wrote:

> 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.

Doubtful assertion.
 
> Getting errno to be reliable is tough because in these paths, there are
> various function calls that can throw off errno.
> 
> 

-- 
mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]