On 06/24/2011 07:02 AM, Daniel P. Berrange wrote:
Allow a 'configFile' parameter to be passed into the lock
drivers to provide configuration. Wire up the QEMU driver
to pass in file names '/etc/libvirt/qemu-$NAME.conf
eg qemu-sanlock.conf
* src/locking/lock_driver.h, src/locking/lock_driver_nop.c,
src/locking/lock_driver_sanlock.c, src/locking/lock_manager.c,
src/locking/lock_manager.h: Add configFile parameter
* src/qemu/qemu_conf.c: Pass in configuration file path to
lock driver plugins
---
src/locking/lock_driver.h | 1 +
src/locking/lock_driver_nop.c | 3 ++-
src/locking/lock_driver_sanlock.c | 1 +
src/locking/lock_manager.c | 7 +++----
src/locking/lock_manager.h | 1 +
src/qemu/qemu_conf.c | 11 +++++++++--
6 files changed, 17 insertions(+), 7 deletions(-)
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org