Re: [PATCH 0/4] Introduce shared daemon startup code

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

 



On 26. 3. 2020 16:17, Rafael Fonseca wrote:
> Libvirt ships several daemons (libvirtd, virtlogd, virtlockd) that all
> have similar code around general daemon startup. Right now the code is
> duplicated for each daemon, but it could be shared, like in a new file
> src/util/virdaemon.c.
> 
> Rafael Fonseca (4):
>   util: introduce shared daemon startup code
>   locking: use shared daemon startup code
>   logging: use shared daemon startup code
>   remote: use shared daemon startup code
> 
>  src/libvirt_private.syms   |   6 +
>  src/locking/lock_daemon.c  | 251 ++++-------------------------------
>  src/logging/log_daemon.c   | 239 ++++-----------------------------
>  src/remote/remote_daemon.c | 263 +++----------------------------------
>  src/util/Makefile.inc.am   |   2 +
>  src/util/virdaemon.c       | 255 +++++++++++++++++++++++++++++++++++
>  src/util/virdaemon.h       |  74 +++++++++++
>  7 files changed, 410 insertions(+), 680 deletions(-)
>  create mode 100644 src/util/virdaemon.c
>  create mode 100644 src/util/virdaemon.h
> 

I'm fixing all the small nits I've rasied and pushing.

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Michal




[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