[libvirt] PATCH: Improve some remote driver error messages

Richard W.M. Jones rjones at redhat.com
Wed Aug 20 13:28:40 UTC 2008


On Tue, Aug 19, 2008 at 11:47:38AM +0100, Daniel P. Berrange wrote:
> Bug reports from users have shown diagnosing problems with the remote
> driver are quite tricky, so I've been looking at improving its error
> messages where possible. There's a number of places where we simply
> pass in  strerror(errno) as the only data in virRaiseError. This doesn't
> let us narrow down just which call failed - we just get a generic message
> "Permission denied" or "Connection refused" with no clue what was being
> tried.

+1, totally sensible.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the libvir-list mailing list