[PATCH v2 0/3] Honor blacklist for modprobe command

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

 



Original patch here:

http://www.redhat.com/archives/libvir-list/2014-January/msg01408.html

Changes since v1:

 * Add virkmod.{c,h} to perform the various modprobe commands
   virModprobeConfig()       -> modprobe -c
   virModprobeLoad()         -> modprobe driver
   virModprobeUnload()       -> modprobe -r driver
   virModprobeUseBlacklist() -> modprobe -b driver

 * virkmodtest.c to test the functions
   Caveat emptor... The config is the only test run by default.  Loading and
   Unloading modules is something to be done carefully.

 * virpci.c
   Use the virModprobe*() API's instead of a direct MODPROBE

 * .gitignore
   Added the /tests/virkmodtest and /examples/domain-events/ which seems
   to have appeared recently.  I can separate them out if desired.

 NOTE: Since I have no messages in virkmod.c, modifying po/POTFILES.in was
       deemed unnecessary by a 'make check-syntax'

John Ferlan (3):
  utils: Introduce functions for modprobe
  tests: Add test for new virkmod functions
  Honor blacklist for modprobe command

 .gitignore               |   2 +
 src/Makefile.am          |   1 +
 src/libvirt_private.syms |   7 ++
 src/util/virkmod.c       | 138 ++++++++++++++++++++++++++++++++
 src/util/virkmod.h       |  35 +++++++++
 src/util/virpci.c        |  49 +++++++++---
 tests/Makefile.am        |   5 ++
 tests/virkmodtest.c      | 201 +++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 429 insertions(+), 9 deletions(-)
 create mode 100644 src/util/virkmod.c
 create mode 100644 src/util/virkmod.h
 create mode 100644 tests/virkmodtest.c

-- 
1.8.4.2

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