[libvirt PATCH 00/14] Use virTristateXXX for more struct members

Peter Krempa pkrempa at redhat.com
Fri Apr 16 07:32:47 UTC 2021


On Wed, Apr 07, 2021 at 13:48:27 +0200, Tim Wiederhake wrote:
> This is a preparation step for some refactoring of the XML parser, see
> https://listman.redhat.com/archives/libvir-list/2021-March/msg01066.html
> 
> Many libvirt structs have members that are of type `int` but actually are
> virTristateBool or virTristateSwitch. Fix this to increase type safety.
> 
> Note that the comments on `virStorageAdapterFCHost::managed` and
> `virStoragePoolSourceDevice::part_separator` (patches #12 and #13) were
> actually wrong.

This is stuff for the individual commit messages rather than the cover
letter. I won't be modifying those for this instance.

Series:

Reviewed-by: Peter Krempa <pkrempa at redhat.com>

and will be pushed shortly.




More information about the libvir-list mailing list