[libvirt] [PATCH 09/10] conf: Provide missing virDomain*DefNew() functions

Ján Tomko jtomko at redhat.com
Fri Jun 30 08:18:19 UTC 2017


On Thu, Jun 29, 2017 at 08:04:02PM +0200, Andrea Bolognani wrote:
>Same as virDomainDeviceInfo itself, any struct that
>embeds it needs to be initialized properly before use;
>however, none of the structs in question even had a
>proper allocation function defined.
>
>Implement an allocation function for all structs
>embedding a virDomainDeviceInfo and use them instead
>of plain VIR_ALLOC() everywhere.
>

NACK

This is a pointless obfuscation

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170630/90359bd3/attachment-0001.sig>


More information about the libvir-list mailing list