[PATCH 0/2] Use more of VIR_XPATH_NODE_AUTORESTORE

Michal Privoznik mprivozn at redhat.com
Wed Jun 3 08:17:21 UTC 2020


I've been playing with cocci again.

Michal Prívozník (2):
  virxml: Don't overwrite ctxt->node
  Use more of VIR_XPATH_NODE_AUTORESTORE

 src/conf/cpu_conf.c             |  3 +-
 src/conf/domain_conf.c          |  7 +--
 src/conf/interface_conf.c       | 16 ++-----
 src/conf/netdev_vlan_conf.c     |  3 +-
 src/conf/network_conf.c         | 25 +++-------
 src/conf/networkcommon_conf.c   |  4 +-
 src/conf/node_device_conf.c     | 84 +++++++++------------------------
 src/conf/numa_conf.c            |  3 +-
 src/conf/snapshot_conf.c        |  3 +-
 src/conf/storage_adapter_conf.c |  3 +-
 src/conf/storage_conf.c         |  4 +-
 src/conf/virsavecookie.c        |  3 +-
 src/cpu/cpu_map.c               | 12 +----
 src/cpu/cpu_x86.c               |  3 +-
 src/lxc/lxc_domain.c            |  4 +-
 src/util/virstorageencryption.c |  8 +---
 src/util/virstoragefile.c       |  3 +-
 src/util/virxml.c               | 27 -----------
 tools/virsh-domain.c            |  6 +--
 19 files changed, 52 insertions(+), 169 deletions(-)

-- 
2.26.2




More information about the libvir-list mailing list