[PATCH libvirt 0/4] rmv virObjectEventStateQueue wrapper funcs

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

 



Currently, there are four wrapper functions which call
virObjectEventStateQueue:
    - testObjectEventQueue
    - libxlDomainEventQueue
    - qemuDomainEventQueue
    - umlDomainEventQueue

This patch series removes these wrappers makes all calls directly to
virObjectEventStateQueue.

Since virObjectEventStateQueue takes care of NULL checking, all NULL
checking by callers has also been removed.

This patch series should complete the BiteSizedTask entry at 
https://wiki.libvirt.org/page/BiteSizedTasks#Remove_NULL_checking_around_EventStateQueue . 

Anya Harter (4):
  events: remove testObjectEventQueue wrapper func
  events: remove libxlDomainEventQueue wrapper func
  events: remove qemuDomainEventQueue wrapper func
  events: remove umlDomainEventQueue wrapper func

 src/libxl/libxl_domain.c    | 24 +++-------
 src/libxl/libxl_domain.h    |  4 --
 src/libxl/libxl_driver.c    | 21 +++------
 src/libxl/libxl_migration.c | 18 +++-----
 src/qemu/qemu_blockjob.c    |  4 +-
 src/qemu/qemu_cgroup.c      |  2 +-
 src/qemu/qemu_domain.c      | 11 +----
 src/qemu/qemu_domain.h      |  2 -
 src/qemu/qemu_driver.c      | 88 +++++++++++++++++--------------------
 src/qemu/qemu_hotplug.c     | 26 +++++------
 src/qemu/qemu_migration.c   | 24 +++++-----
 src/qemu/qemu_process.c     | 54 +++++++++++------------
 src/test/test_driver.c      | 80 ++++++++++++++++-----------------
 src/uml/uml_driver.c        | 33 ++++----------
 14 files changed, 162 insertions(+), 229 deletions(-)

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

  Powered by Linux