[PATCH v2 0/2] Replace some libvirt handling function with GLib APIs

Luke Yue lukedyue at gmail.com
Mon Jun 7 06:10:46 UTC 2021


Compared to original:
  - Ensure the virFindFileInPath() return an absolute path (tried to use
      glibcompat, failed to solve some Windows related issue)
  - Just remove virFileAbsPath() and use g_canonicalize_filename()
  instead


Luke Yue (2):
  Replace virFileAbsPath() with g_canonicalize_filename()
  virfile: Simplify virFindFileInPath() with g_find_program_in_path()

 src/libvirt-domain.c     | 16 +++++-----
 src/libvirt_private.syms |  1 -
 src/util/virfile.c       | 69 ++--------------------------------------
 src/util/virfile.h       |  3 --
 src/util/virlog.c        |  2 +-
 5 files changed, 12 insertions(+), 79 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list