libvirt/src/cpu
Michal Privoznik 0fe2d8dd33 lib: Almost eliminate use of virTristateBoolTypeFromString()
There are couple of places where virTristateBoolTypeFromString()
is called. Well, the same result can be achieved by
virXMLPropTristateBool() and on fewer lines.

Note there are couple of places left untouched because those
don't care about error reporting and thus are shorter they way
they are now.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-01-21 16:42:13 +01:00
..
cpu_arm_data.h cpu: Introduce virCPUarmData and related struts 2020-05-15 12:04:24 +02:00
cpu_arm.c cpu_arm: Implement virCPUDataNewCopy for arm 2021-11-05 17:12:25 +01:00
cpu_arm.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_map.c cpu_map: Remove unnecessary variable in loadData 2020-09-11 15:33:55 +02:00
cpu_map.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_ppc64_data.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_ppc64.c cpu_ppc64.c: remove 'guest' param from ppc64Compute() 2021-11-19 13:32:59 -03:00
cpu_ppc64.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_s390.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
cpu_s390.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_x86_data.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
cpu_x86.c lib: Almost eliminate use of virTristateBoolTypeFromString() 2022-01-21 16:42:13 +01:00
cpu_x86.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
cpu.c cpu_x86: Add virCPUDataGetHost 2021-11-05 17:12:25 +01:00
cpu.h cpu_x86: Add virCPUDataGetHost 2021-11-05 17:12:25 +01:00
meson.build meson: src: build libvirt.so library 2020-08-03 09:27:04 +02:00