[libvirt] [PATCH 3/4] Pass virQEMUDriverPtr into APIs managed shared disk list
Eric Blake
eblake at redhat.com
Fri Feb 8 22:36:03 UTC 2013
On 02/07/2013 10:46 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Currently the APIs for managing the shared disk list take
> a virHashTablePtr as the primary argument. This is bad
> because it requires the caller to deal with locking of
> the QEMU driver. Switch the APIs to take the full
> virQEMUDriverPtr instance
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/qemu/qemu_conf.c | 51 +++++++++++++++++++++++--------------------------
> src/qemu/qemu_conf.h | 4 ++--
> src/qemu/qemu_driver.c | 6 +++---
> src/qemu/qemu_process.c | 10 +++++-----
> src/qemu/qemu_process.h | 2 +-
> 5 files changed, 35 insertions(+), 38 deletions(-)
>
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130208/66c3bc87/attachment-0001.sig>
More information about the libvir-list
mailing list