[libvirt] [PATCH 3/6] storage: pass struct _virStorageBackendQemuImgInfo by reference

John Ferlan jferlan at redhat.com
Wed Jan 30 21:08:04 UTC 2019



On 1/30/19 12:40 PM, Daniel P. Berrangé wrote:
> The struct _virStorageBackendQemuImgInfo is quite large so it is
> preferrable to pass it by reference instead of by value. This requires
> us to stop modifying the "compat" field.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/storage/storage_util.c | 35 +++++++++++++++++------------------
>  1 file changed, 17 insertions(+), 18 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list