
15 Oct
2009
15 Oct
'09
7:15 p.m.
2009/10/14 Daniel P. Berrange <berrange@redhat.com>:
A number of driver API methods which acquire the driver mutex only ever used the driver object in a read-only fashion. All these uses are converted to call qemuDriverLockRO() allowing for greater concurrency.
* src/qemu/qemu_conf.h: s/Mutex/RWLock/ * src/qemu/qemu_driver.c: Add a qemuDriverLockRO() method and use it anywhere that doesn't require a write lock on the driver ---
ACK. Matthias