[PATCH v2 0/8] Refactor autostart for VM daemons

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

 



These patches are a spin off from my bigger auto-shutdown series:

   https://lists.libvirt.org/archives/list/devel@xxxxxxxxxxxxxxxxx/thread/EIBL5W75N6HEFQFPEGIK6D5NJ56EUPC4/#6WK5NL2WPO3JDICNZGWZVNZDFFQTQZBW

Since they're self contained, they can be merged sooner while
I'm still working on Peter's feedback from latter parts of the
above patch series.

Daniel P. Berrangé (8):
  bhyve: add 'driver' to bhyveProcessStart method
  bhyve: stop opening & passing connection to bhyveProcessStart
  util: add APIs for more systemd notifications
  remote: notify systemd when reloading config
  hypervisor: introduce helper for autostart
  src: convert drivers over to use new autostart helper
  hypervisor: add support for delay interval during autostart
  qemu: add 'auto_start_delay' configuration parameter

 src/bhyve/bhyve_driver.c           | 60 ++++++++++--------------------
 src/bhyve/bhyve_process.c          |  5 +--
 src/bhyve/bhyve_process.h          |  3 +-
 src/hypervisor/domain_driver.c     | 55 +++++++++++++++++++++++++++
 src/hypervisor/domain_driver.h     | 19 ++++++++++
 src/libvirt_private.syms           |  7 +++-
 src/libxl/libxl_driver.c           | 36 +++++-------------
 src/lxc/lxc_driver.c               | 13 ++++---
 src/lxc/lxc_process.c              | 18 +--------
 src/lxc/lxc_process.h              |  2 +
 src/qemu/libvirtd_qemu.aug         |  1 +
 src/qemu/qemu.conf.in              |  5 +++
 src/qemu/qemu_conf.c               |  2 +
 src/qemu/qemu_conf.h               |  1 +
 src/qemu/qemu_driver.c             | 55 +++++++++------------------
 src/qemu/test_libvirtd_qemu.aug.in |  1 +
 src/remote/libvirtd.service.in     |  2 +-
 src/remote/remote_daemon.c         |  2 +
 src/rpc/virnetdaemon.c             |  2 +-
 src/util/virsystemd.c              | 44 ++++++++++++++++++++--
 src/util/virsystemd.h              |  6 ++-
 src/virtd.service.in               |  2 +-
 22 files changed, 202 insertions(+), 139 deletions(-)

-- 
2.47.1




[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