]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Refactor creation of lock manager plugins
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Dec 2012 15:59:21 +0000 (15:59 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 13 Dec 2012 15:26:57 +0000 (15:26 +0000)
commitf199f75e9b0b080cda158ec607c63a7c3dae0f29
tree7bfeeade34b3fa4fc5de6a27d0172dfbc643c16f
parent41ac222e52e4435f72dba5f3ec0c4af8c9ceefae
Refactor creation of lock manager plugins

Refactor virLockManagerPluginNew() so that the caller does
not need to pass in the config file path itself - just the
config directory and driver name.

Fix QEMU to actually pass in a config file when creating the
default lock manager plugin, rather than NULL.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/locking/lock_manager.c
src/locking/lock_manager.h
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c