[PATCHv2 0/6] Utility functions for storing uninstalled location

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

 



When libvirtd is run from a build directory without being installed, it
should not depend on files from a libvirt package installed in the
system. Currently, APIs defined in src/ don't know whether libvirtd
is being run from the build dir or the installed dir. The following
additions provide the functionality to do so:

   virSetUninstalledDir
   virGetUninstalledDir

Example usage (utility = lxc|iohelper):
   char *path_tmp = virGetUninstalledDir();
   if (path_tmp)
      /* do stuff with ("%s/../../src/libvirt_<utility>", path_tmp) */
   else
      /* do stuff with (LIBEXECDIR "/libvirt_<utility>") */

v1:
  Refer: https://www.redhat.com/archives/libvir-list/2014-March/msg01427.html

Nehal J Wani (6):
  Add utility functions for storing uninstalled location
  Use virGetUninstalledDir() in src/util/virfile.c
  Use virGetUninstalledDir() in src/lxc/lxc_conf.c
  Use virGetUninstalledDir() in src/storage/storage_backend_disk.c
  Use virGetUninstalledDir() in src/fdstream.c
  Remove obsolete function virFDStreamSetIOHelper()

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