[libvirt PATCH 0/6] util: virnetdev: use g_auto for virCommand

Ján Tomko jtomko at redhat.com
Mon Jan 17 17:02:27 UTC 2022

Refactor some functions to remove more manual virCommand freeing.

virNetDevBandwidthSet is left untouched.

Ján Tomko (6):
  util: midonet: use g_auto for virCommand
  util: virNetDevBandwidthUpdateRate: refactor
  util: virNetDevBandwidthManipulateFilter: use g_auto
  util: virNetDevBandwidthClear: use g_auto
  util: refactor virNetDevBandwidthPlug
  util: refactor virNetDevBandwidthUnplug

 src/util/virnetdevbandwidth.c | 128 +++++++++++++---------------------
 src/util/virnetdevmidonet.c   |  20 ++----
 2 files changed, 53 insertions(+), 95 deletions(-)


More information about the libvir-list mailing list