[libvirt] [PATCH v2 0/6] Alter domain_conf to make use of autofree

John Ferlan jferlan at redhat.com
Wed Feb 20 18:33:58 UTC 2019


v1: https://www.redhat.com/archives/libvir-list/2019-February/msg01160.html

Changes since v1:

 * Push patch 1 

 * Split patch 2 to follow code review guidance:

   * (Patch1) Pull out virDomainEmulatorPinDefParseXML changes to
               use VIR_STEAL_PTR
   * (Patch2) Use VIR_AUTOPTR(virBitmap) 
   * (Patch3) Handle a couple cases where goto's no longer necessary

 * Drop Patch 3

 * Split Patch 4 to follow code review guidance:

   * (Patch4) Remove unused variables
   * (Patch5) Just use VIR_AUTOFREE
   * (Patch6) Handle the removal of goto logic that's no longer necessary
  

John Ferlan (6):
  conf: Rework virDomainEmulatorPinDefParseXML
  conf: Use VIR_AUTOPTR(virBitmap) in domain_conf
  conf: Clean up some unnecessary goto paths
  conf: Remove a few unused variables in domain_conf
  conf: Use VIR_AUTOFREE in domain_conf
  conf: Clean up some unnecessary goto paths

 src/conf/domain_conf.c | 1937 ++++++++++++++--------------------------
 1 file changed, 676 insertions(+), 1261 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list