[libvirt] [PATCH 04/03] qemu: Refactor qemuGetDriveSourceString to take virStorageSourcePtr

Eric Blake eblake at redhat.com
Wed Apr 9 01:40:27 UTC 2014


On 04/08/2014 09:55 AM, Peter Krempa wrote:
> Refactor the function to avoid multiple wrappers splitting identical
> fields from the now common metadata struct.
> 
> The refactor is done by folding in the wrapper used for disk sources
> which allows us to lookup secrets via the secret driver. This may allow
> using stored secrets for snapshot disk images too in the future.
> ---
>  src/qemu/qemu_command.c | 122 +++++++++++++++++++++---------------------------
>  src/qemu/qemu_command.h |  12 ++---
>  src/qemu/qemu_driver.c  |  19 +-------
>  3 files changed, 58 insertions(+), 95 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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140408/738883c5/attachment-0001.sig>


More information about the libvir-list mailing list