[PATCH 0/4] fix virReportSystemError misuse

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

 



virReportSystemError() reports some OS errors, and the first
argument of it should be the error number defined in errno.h.
virReportError() reports libvirt errors, and the first argument
should be the error number defined in virerrno.h.

This patch set fix some misuse of virReportSystemError: 
passing virerrno instead of errno.

Jincheng Miao (4):
  qemu: fix wrong errno report in qemuMonitorOpenUnix
  lxc: print ENOTSUP when usernamespace is not supported
  openvz: print EOVERFLOW when barrier:limit are too long
  util: print errno in virObjectLockableNew

 src/lxc/lxc_container.c  | 2 +-
 src/openvz/openvz_conf.c | 2 +-
 src/qemu/qemu_monitor.c  | 7 +++++--
 src/util/virobject.c     | 2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]