On 11.12.2012 21:41, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
This adds a 'lockd' lock driver which is just a client which
talks to the lockd daemon to perform all locking. This will
be the default lock driver for any hypervisor which needs one.
* src/Makefile.am: Add lockd.so plugin
* src/locking/lock_driver_lockd.c: Lockd driver impl
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
.gitignore | 1 +
po/POTFILES.in | 1 +
run.in | 2 +
src/Makefile.am | 54 ++-
src/locking/libvirt_lockd.aug | 32 ++
src/locking/lock_driver_lockd.c | 658 ++++++++++++++++++++++++++++++++++
src/locking/lockd.conf | 18 +
src/locking/test_libvirt_lockd.aug.in | 6 +
8 files changed, 766 insertions(+), 6 deletions(-)
create mode 100644 src/locking/libvirt_lockd.aug
create mode 100644 src/locking/lock_driver_lockd.c
create mode 100644 src/locking/lockd.conf
create mode 100644 src/locking/test_libvirt_lockd.aug.in
ACK if you fix compilation issue:
CC lockd_la-lock_driver_lockd.lo
In file included from locking/lock_driver_lockd.c:24:0:
locking/lock_driver.h:26:26: fatal error: domain_conf.h: No such file or
directory