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

2021-04-16 Thread Peter Krempa
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 > virTrist

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

2021-04-15 Thread Tim Wiederhake
polite ping On Wed, 2021-04-07 at 13:48 +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 > ar

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

2021-04-07 Thread Tim Wiederhake
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 th