]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Support loading a configuration file for sanlock plugin
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 14 Jun 2011 08:20:49 +0000 (09:20 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 28 Jun 2011 17:07:06 +0000 (18:07 +0100)
commit58eb4f2cbbb17b1afa1a9e0766a87f25aa895b73
treed1976efec6d8b4b5450123e5ecded37a1ed5083d
parent5df29ebc25e3e73ef43acb5e9093c9e17ef792b4
Support loading a configuration file for sanlock plugin

Introduce a configuration file with a single parameter
'require_lease_for_disks', which is used to decide whether
it is allowed to start a guest which has read/write disks,
but without any leases.

* libvirt.spec.in: Add sanlock config file and augeas
  lens
* src/Makefile.am: Install sanlock config file and
  augeas lens
* src/locking/libvirt_sanlock.aug: Augeas master lens
* src/locking/test_libvirt_sanlock.aug: Augeas test file
* src/locking/sanlock.conf: Example sanlock config
* src/locking/lock_driver_sanlock.c: Wire up loading
  of configuration file
libvirt.spec.in
src/Makefile.am
src/locking/libvirt_sanlock.aug [new file with mode: 0644]
src/locking/lock_driver_sanlock.c
src/locking/sanlock.conf [new file with mode: 0644]
src/locking/test_libvirt_sanlock.aug [new file with mode: 0644]