[PATCH 0/9] Standardize on lookup of resources in build dir

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

 



Instead of having a bunch of custom override functions for each
different area of code, standardize on one set of helper APIs
for loading resources.

This is derived from Nehal's proposal, based on my / Eric's feedback

  https://www.redhat.com/archives/libvir-list/2014-March/msg01544.html

Daniel P. Berrange (5):
  Add helpers for resolving path to resources in build tree
  Activate build dir overrides in libvirtd, virtlockd & tests
  Use virFileFindResource to locate lock manager plugins
  Use virFileFindResource to locate driver plugins
  Use virFileFindResource to locate CPU map XML

Nehal J Wani (4):
  Use virFileFindResource to locate iohelper for virFileWrapperFdNew
  Use virFileFindResource to locate libvirt_lxc for capabilities
  Use virFileFindResource to locate parthelper for storage backend
  Use virFileFindResource to locate iohelper for fdstream

 daemon/libvirtd.c                  | 31 +-----------
 src/Makefile.am                    |  2 +
 src/cpu/cpu_map.c                  | 31 ++++--------
 src/cpu/cpu_map.h                  |  3 --
 src/driver.c                       | 26 +++--------
 src/driver.h                       |  1 -
 src/fdstream.c                     | 21 ++++-----
 src/fdstream.h                     |  3 --
 src/libvirt_private.syms           |  4 +-
 src/locking/lock_daemon.c          |  2 +
 src/locking/lock_manager.c         | 28 ++++-------
 src/locking/lock_manager.h         |  1 -
 src/lxc/lxc_conf.c                 | 14 +++++-
 src/storage/storage_backend_disk.c | 31 +++++++++---
 src/util/virfile.c                 | 96 +++++++++++++++++++++++++++++++++++++-
 src/util/virfile.h                 | 11 +++++
 tests/cputest.c                    | 14 ------
 tests/fdstreamtest.c               |  3 --
 tests/qemuxml2argvtest.c           |  7 ---
 tests/qemuxmlnstest.c              |  7 ---
 tests/testutils.c                  |  2 +
 tests/virdrivermoduletest.c        |  2 -
 22 files changed, 187 insertions(+), 153 deletions(-)

-- 
1.9.0

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