Re: [libvirt] [PATCH 4/4] Report one error less when getting net dev speed

2014-07-01 Thread Michal Privoznik
On 30.06.2014 15:38, Ján Tomko wrote: virFileReadAll already logs an error. If reading the 'speed' file fails with EINVAL, we log an error even though we ignore it. If it fails with other errors, we log two errors. Use virFileReadAllQuiet - ignore EINVAL and report just one error in other cases.

[libvirt] [PATCH 4/4] Report one error less when getting net dev speed

2014-06-30 Thread Ján Tomko
virFileReadAll already logs an error. If reading the 'speed' file fails with EINVAL, we log an error even though we ignore it. If it fails with other errors, we log two errors. Use virFileReadAllQuiet - ignore EINVAL and report just one error in other cases. Fixes this error on libvirtd startup: