[libvirt] [PATCH 0/4] fix virReportSystemError misuse

Jincheng Miao jmiao at redhat.com
Tue Jul 15 08:31:59 UTC 2014


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




More information about the libvir-list mailing list