[PATCH 00/23] Convert remaining areas of code to use virReportError

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

 



This converts all the remaining areas of libvirt code to use the
virReportError macro for reporting errors. As before this is a
mechanical change which should be a no-op.

 cfg.mk                            |   25 
 daemon/libvirtd-config.c          |   60 -
 daemon/remote.c                   |  214 ++--
 daemon/stream.c                   |   22 
 src/cpu/cpu.c                     |   86 -
 src/cpu/cpu.h                     |    5 
 src/cpu/cpu_generic.c             |   18 
 src/cpu/cpu_map.c                 |   22 
 src/cpu/cpu_x86.c                 |  132 +-
 src/esx/esx_driver.c              |  422 ++++----
 src/esx/esx_private.h             |    4 
 src/esx/esx_storage_driver.c      |  100 +-
 src/esx/esx_util.c                |   74 -
 src/esx/esx_vi.c                  |  626 ++++++------
 src/esx/esx_vi.h                  |    7 
 src/esx/esx_vi_methods.c          |   12 
 src/esx/esx_vi_types.c            |  216 ++--
 src/fdstream.c                    |   69 -
 src/hyperv/hyperv_driver.c        |  142 +-
 src/hyperv/hyperv_private.h       |    4 
 src/hyperv/hyperv_util.c          |   10 
 src/hyperv/hyperv_wmi.c           |  114 +-
 src/libxl/libxl_conf.c            |   42 
 src/libxl/libxl_conf.h            |    4 
 src/libxl/libxl_driver.c          |  614 ++++++------
 src/locking/lock_driver_sanlock.c |  157 +--
 src/locking/lock_manager.c        |   30 
 src/network/bridge_driver.c       |  344 +++----
 src/nodeinfo.c                    |  104 +-
 src/openvz/openvz_conf.c          |  132 +-
 src/openvz/openvz_conf.h          |    4 
 src/openvz/openvz_driver.c        |  282 ++---
 src/openvz/openvz_util.c          |    5 
 src/phyp/phyp_driver.c            |   76 -
 src/qemu/qemu_agent.c             |  142 +-
 src/qemu/qemu_capabilities.c      |   16 
 src/qemu/qemu_cgroup.c            |   26 
 src/qemu/qemu_command.c           | 1066 +++++++++++-----------
 src/qemu/qemu_conf.c              |   26 
 src/qemu/qemu_conf.h              |    4 
 src/qemu/qemu_domain.c            |   94 -
 src/qemu/qemu_driver.c            | 1834 +++++++++++++++++++-------------------
 src/qemu/qemu_hostdev.c           |   59 -
 src/qemu/qemu_hotplug.c           |  362 +++----
 src/qemu/qemu_migration.c         |  284 ++---
 src/qemu/qemu_monitor.c           |  384 +++----
 src/qemu/qemu_monitor_json.c      |  546 +++++------
 src/qemu/qemu_monitor_text.c      |  532 +++++------
 src/qemu/qemu_process.c           |  216 ++--
 src/remote/remote_driver.c        |  310 +++---
 src/rpc/gendispatch.pl            |   24 
 src/security/security_apparmor.c  |   94 -
 src/security/security_driver.c    |    8 
 src/security/security_manager.c   |   50 -
 src/security/security_manager.h   |    5 
 src/security/security_selinux.c   |  106 +-
 src/test/test_driver.c            |  509 +++++-----
 src/uml/uml_conf.c                |   24 
 src/uml/uml_conf.h                |    5 
 src/uml/uml_driver.c              |  108 +-
 src/vbox/vbox_driver.c            |   20 
 src/vbox/vbox_tmpl.c              |  779 ++++++++--------
 src/vmware/vmware_conf.c          |   56 -
 src/vmware/vmware_conf.h          |    4 
 src/vmware/vmware_driver.c        |  110 +-
 src/vmx/vmx.c                     |  738 +++++++--------
 src/xen/block_stats.c             |   54 -
 src/xen/xen_driver.c              |  114 +-
 src/xen/xen_hypervisor.c          |  211 ++--
 src/xen/xen_inotify.c             |   48 
 src/xen/xend_internal.c           |  461 ++++-----
 src/xen/xm_internal.c             |  134 +-
 src/xen/xs_internal.c             |   40 
 src/xenapi/xenapi_driver.c        |   12 
 src/xenxs/xen_sxpr.c              |  256 ++---
 src/xenxs/xen_xm.c                |  220 ++--
 src/xenxs/xenxs_private.h         |    4 
 77 files changed, 7063 insertions(+), 7210 deletions(-)


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