[libvirt] [PATCH v4 0/5] qemu_driver: GLib powered cleanup

Daniel Henrique Barboza danielhb413 at gmail.com
Wed Oct 16 20:54:28 UTC 2019


changes from v3:
- only use the new Glib macros in all patches
- different patch split, as suggested by Jano in v3 review
- patch 5 (new): g_strdup_printf conversion

changes from v2:
- rebased with newer master (67e72053c1)
- added an extra patch to convert the existing VIR_AUTO* macros
to g_auto* ones, all at once, to avoid the case where a method
will have both VIR_AUTO* and g_auto* macros at the same time.

changes from v1:
- addressed review concerns made by Erik
- added more cleanups, as suggested by Erik

v3: https://www.redhat.com/archives/libvir-list/2019-October/msg00918.html
v2: https://www.redhat.com/archives/libvir-list/2019-September/msg01452.html
v1: https://www.redhat.com/archives/libvir-list/2019-September/msg00719.html

Daniel Henrique Barboza (5):
  qemu_driver: use g_auto* in some functions
  qemu_driver: use g_autoptr() when possible
  qemu_driver: use g_autofree when possible
  qemu_driver: remove unused 'cleanup' labels after g_auto*() changes
  qemu_driver: use g_strdup_printf

 src/qemu/qemu_driver.c | 721 ++++++++++++++---------------------------
 1 file changed, 242 insertions(+), 479 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list