Re: [PATCH 17/17] virDomainTimerDefParseXML: Switch to virXMLPropEnumDefault()

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

 



On 5/23/22 3:08 PM, Michal Privoznik wrote:
The virDomainTimerDefParseXML() function uses old style of
parsing XML (virXMLPropString + str2enum conversion). Use
virXMLPropEnumDefault() which encapsulates those steps.

virXMLPropEnum, virXMLPropULongLong and virXMLPropUInt ...


Signed-off-by: Michal Privoznik<mprivozn@xxxxxxxxxx>
---
  src/conf/domain_conf.c   | 105 +++++++++++++--------------------------
  src/conf/domain_conf.h   |  14 +++---
  src/libxl/libxl_conf.c   |   6 ++-
  src/libxl/xen_common.c   |   6 ++-
  src/lxc/lxc_cgroup.c     |   2 +-
  src/lxc/lxc_controller.c |   2 +-
  src/qemu/qemu_command.c  |  11 +++-
  src/qemu/qemu_validate.c |   8 ++-
  8 files changed, 69 insertions(+), 85 deletions(-)


--
Mit freundlichen Grüßen/Kind regards
   Boris Fiuczynski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294





[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