Introduce basic infrastructure for virtlockd daemon
The virtlockd daemon will maintain locks on behalf of libvirtd.
There are two reasons for it to be separate
- Avoid risk of other libvirtd threads accidentally
releasing fcntl() locks by opening + closing a file
that is locked
- Ensure locks can be preserved across libvirtd restarts.
virtlockd will need to be able to re-exec itself while
maintaining locks. This is simpler to achieve if its
sole job is maintaining locks
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
Showing
src/locking/lock_daemon.c
0 → 100644
此差异已折叠。
src/locking/lock_daemon.h
0 → 100644
src/locking/lock_daemon_config.c
0 → 100644
src/locking/lock_daemon_config.h
0 → 100644
src/locking/virtlockd.init.in
0 → 100644
src/locking/virtlockd.sysconf
0 → 100644
想要评论请 注册 或 登录