[PATCH v2 00/10] reduce code duplication in NodeDevice driver

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

 



changes from v1:
- added Jano's R-b in patches 1-9
- Patch 08:
    * clarified why the 'Flags' suffix was kept in the helper name
- (new) Patch 10: change check-aclrules to verify ACL checks in
  domain_driver.c

v1 link: https://www.redhat.com/archives/libvir-list/2021-February/msg00065.html 

Daniel Henrique Barboza (10):
  qemu, libxl, hypervisor: use virDomainDriverNodeDeviceReset() helper
  datatypes.h: register AUTOPTR_CLEANUP_FUNC for virNodeDevicePtr
  domain_driver.c: use g_auto* in virDomainDriverNodeDeviceReset()
  qemu, libxl, hypervisor: use virDomainDriverNodeDeviceReAttach()
    helper
  domain_driver.c: use g_auto* in virDomainDriverNodeDeviceReAttach()
  libxl_driver.c: validate 'driverName' earlier in
    libxlNodeDeviceDetachFlags()
  qemu_driver.c: validate 'driverName' earlier in
    qemuNodeDeviceDetachFlags()
  qemu, libxl, hypervisor: use virDomainDriverNodeDeviceDetachFlags()
    helper
  domain_driver.c: use g_auto* in virDomainDriverNodeDeviceDetachFlags()
  scripts/check-aclrules.py: check ACL for domain_driver.c ACL callers

 scripts/check-aclrules.py      |  25 ++++-
 src/datatypes.h                |   2 +
 src/hypervisor/domain_driver.c | 147 +++++++++++++++++++++++++++++
 src/hypervisor/domain_driver.h |  11 +++
 src/hypervisor/meson.build     |   3 +
 src/libvirt_private.syms       |   3 +
 src/libxl/libxl_driver.c       | 164 +++------------------------------
 src/qemu/qemu_driver.c         | 164 ++++-----------------------------
 8 files changed, 218 insertions(+), 301 deletions(-)

-- 
2.26.2




[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