[PATCH 0/6] util: alloc: Remove VIR_ALLOC_VAR

Daniel P. Berrangé berrange at redhat.com
Wed Feb 3 14:34:09 UTC 2021


On Wed, Feb 03, 2021 at 02:34:20PM +0100, Peter Krempa wrote:
> One user was reimplemented using a more common approach, two users use a
> constant size so were reimplemented using g_malloc + sizeof.
> 
> Peter Krempa (6):
>   virNWFilterVarCombIter: Allocate 'iter' member separately
>   virLockManagerSanlockAddLease: Refactor cleanup
>   virLockManagerSanlockAddDisk: Refactor cleanup
>   locking: sanlock: Avoid use of VIR_ALLOC_VAR for 'struct
>     sanlk_resource'
>   virNetDevGetEthtoolGFeatures: Avoid use of VIR_ALLOC_VAR
>   viralloc: Remove VIR_ALLOC_VAR

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list