[PATCH v2 0/3] Add callback mech for qemu and nodedev

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

 



v1: http://www.redhat.com/archives/libvir-list/2017-February/msg00354.html

Changes since v1:

 - Rather than calling the enumeration API from node_device_conf, return
   the address of the enumeration API to the calling driver and let it
   make the callback.

 - If the enumeration callback doesn't exist add a failure to the registration
   function

 - Rather than fail when the registration add callback fails, just splat
   a VIR_WARN message.  Changed the remove code to use VIR_WARN instead
   of VIR_DEBUG too

John Ferlan (3):
  nodedev: Add driver callback mechanism to add/remove devices
  qemu: Use nodedev callback mechanism to to get a nodedev data
  qemu: Add configuration variable to control nodedev enumeration

 src/check-aclrules.pl              |   3 +-
 src/check-driverimpls.pl           |   1 +
 src/conf/node_device_conf.c        | 115 ++++++++++++++++++++++++++++++++++++-
 src/conf/node_device_conf.h        |  18 ++++++
 src/libvirt_private.syms           |   3 +
 src/node_device/node_device_udev.c |  29 ++++++++++
 src/qemu/libvirtd_qemu.aug         |   1 +
 src/qemu/qemu.conf                 |  19 ++++++
 src/qemu/qemu_conf.c               |  53 +++++++++++++++++
 src/qemu/qemu_conf.h               |  17 ++++++
 src/qemu/qemu_driver.c             |  46 +++++++++++++++
 src/qemu/test_libvirtd_qemu.aug.in |   1 +
 12 files changed, 304 insertions(+), 2 deletions(-)

-- 
2.7.4

--
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]
  Powered by Linux