Daniel P. Berrange b090aa7d55 Introduce a virQEMUDriverConfigPtr object
Currently the virQEMUDriverPtr struct contains an wide variety
of data with varying access needs. Move all the static config
data into a dedicated virQEMUDriverConfigPtr object. The only
locking requirement is to hold the driver lock, while obtaining
an instance of virQEMUDriverConfigPtr. Once a reference is held
on the config object, it can be used completely lockless since
it is immutable.

NB, not all APIs correctly hold the driver lock while getting
a reference to the config object in this patch. This is safe
for now since the config is never updated on the fly. Later
patches will address this fully.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-02-05 15:49:25 +00:00
..
2012-04-02 09:33:54 -06:00
2012-09-17 14:59:37 -04:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:17:13 +00:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2011-07-11 09:21:37 -06:00
2009-07-16 15:06:42 +02:00
2012-12-21 11:19:49 +00:00
2013-01-17 16:39:10 -07:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:50 +00:00