[libvirt] [PATCH 1/4] Allow per-driver config file for lock manager plugins
Eric Blake
eblake at redhat.com
Tue Jun 28 16:16:56 UTC 2011
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110628/21d07204/attachment-0001.sig>
More information about the libvir-list
mailing list