Re: [PATCH 00/16] Clean up of virJSONValueFree usage and few related refactors

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

 



On a Friday in 2021, Peter Krempa wrote:
Peter Krempa (16):
 qemu: hotplug: Use automatic freeing for virJSONValue
 qemuDomainHotplugAddIOThread: Automatically free virJSONValue
 qemuMonitorBlockdevCreate: Use double pointer instead of always
   consuming '@props'
 virLockDaemonClientPreExecRestart: Modernize JSON object construction
 virLockDaemonPostExecRestart: Automatically free temporary variables
 virLockDaemonPostExecRestart: Refactor cleanup
 virLogDaemonPostExecRestart: Use automatic freeing for variables
 virLogDaemonPostExecRestart: Refactor cleanup
 virCHProcessUpdateInfo: Automatically free virJSONValue
 tests/virnetdaemontest.c: testExecRestart: Automatically free
   virJSONValue-s
 qemuAgentGuestSync: Don't use goto for looping
 qemuMonitorJSONGetCPUModelExpansion: Don't use goto for looping
 qemuMonitorAddObject: Use g_clear_pointer for a free and reset
   operation
 qemuAgentIOProcessLine: refactor cleanup
 qemu: agent: Automatically free virJSONValue-s
 qemu: agent: Remove unneeded cleanup sections

src/ch/ch_process.c          |   4 +-
src/locking/lock_daemon.c    |  85 ++++------
src/logging/log_daemon.c     |  42 ++---
src/qemu/qemu_agent.c        | 304 ++++++++++++++++-------------------
src/qemu/qemu_block.c        |   3 +-
src/qemu/qemu_driver.c       |   3 +-
src/qemu/qemu_hotplug.c      |  13 +-
src/qemu/qemu_monitor.c      |  20 +--
src/qemu/qemu_monitor.h      |   2 +-
src/qemu/qemu_monitor_json.c |  79 +++++----
src/qemu/qemu_monitor_json.h |   2 +-
tests/virnetdaemontest.c     |   6 +-
12 files changed, 254 insertions(+), 309 deletions(-)

Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[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