Re: [libvirt] [PATCH 06/12] qemu: Refactor qemuBuildNetworkDriveURI to take a virStorageSourcePtr

2014-11-20 Thread John Ferlan
On 11/12/2014 08:47 AM, Peter Krempa wrote: Instead of spliting out various fields, pass the complete structure and s/spliting/splitting let the function pick various things of it. As one of the callers isn't using virStorageSourcePtr to store the data, this patch adds glue code that

[libvirt] [PATCH 06/12] qemu: Refactor qemuBuildNetworkDriveURI to take a virStorageSourcePtr

2014-11-12 Thread Peter Krempa
Instead of spliting out various fields, pass the complete structure and let the function pick various things of it. As one of the callers isn't using virStorageSourcePtr to store the data, this patch adds glue code that fills the data into a dummy virStorageSourcePtr before calling the func.