]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Fix type of @present in _virDomainTimerDef struct
authorMichal Privoznik <mprivozn@redhat.com>
Sun, 23 Jan 2022 20:15:10 +0000 (21:15 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Jan 2022 09:49:18 +0000 (10:49 +0100)
commit754a7f6c942268b2b604de072a3391ea4df91e57
tree85b9093645fdba0edc3d3f2cd34f34064d6507d3
parent9198b7090bebe104ca36852b64528e72458eeef5
conf: Fix type of @present in _virDomainTimerDef struct

In the _virDomainTimerDef structure we have @present member which
is like virTristateBool, except it's an integer and has values
shifted by one. This is harder to read. Retype the member to
virTristateBool which we are familiar with.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libxl/libxl_conf.c
src/libxl/xen_common.c
src/lxc/lxc_cgroup.c
src/lxc/lxc_controller.c
src/qemu/qemu_command.c
src/qemu/qemu_validate.c