Re: [libvirt PATCH v6 3/8] util: add virXMLPropUIntDefault() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux