]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Introduce libxlDriverConfig object
authorJim Fehlig <jfehlig@suse.com>
Fri, 30 Aug 2013 20:52:14 +0000 (14:52 -0600)
committerJim Fehlig <jfehlig@suse.com>
Tue, 3 Sep 2013 22:43:20 +0000 (16:43 -0600)
commitd9f19c30d054c86b15a304f4118baa4fa75af9d2
tree4974f331d3777682a4acf4810f062c6ab448a087
parent4147587669bc2fea066d33f80ea153d3a6c642a3
libxl: Introduce libxlDriverConfig object

The libxlDriverPrivate struct contains an variety of data with
varying access needs. Similar to the QEMU and LXC drivers,
move all the static config data into a dedicated libxlDriverConfig
object. The only locking requirement is to hold the driver lock
while obtaining an instance of libxlDriverConfig. Once a reference
is held on the config object, it can be used completely lockless
since it is immutable.
src/libxl/libxl_conf.c
src/libxl/libxl_conf.h
src/libxl/libxl_driver.c