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