On a Wednesday in 2023, Jonathon Jongsma wrote:
This function allows you to specify a default value to return if the
property is not found rather than always setting *result to 0.
Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
src/conf/cpu_conf.c | 9 +++------
src/conf/domain_conf.c | 6 +-----
src/conf/numa_conf.c | 7 +------
src/util/virxml.c | 29 ++++++++++++++++++++++++++++-
src/util/virxml.h | 9 +++++++++
5 files changed, 42 insertions(+), 18 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano