While looking at a use-after-free situation going through how the QEMU
monitor is set up I noticed some things. These cleanups and the fix
for the use-after-free are the result of that.
Marc Hartmayer (5):
qemu: Fix two use-after-free situations
qemu: Turn qemuDomainLogContext into virObject
qemu: Implement qemuMonitorRegister()
qemu: remove ATTRIBUTE_UNUSED in qemuProcessHandleMonitorEOF
refactoring: Use the return value of virObjectRef directly
src/datatypes.c | 6 ++--
src/qemu/qemu_domain.c | 72 ++++++++++++++++++++------------------
src/qemu/qemu_domain.h | 2 --
src/qemu/qemu_monitor.c | 82 ++++++++++++++++++++++++++++++++++----------
src/qemu/qemu_monitor.h | 6 ++++
src/qemu/qemu_process.c | 12 +++----
src/rpc/virnetclientstream.c | 4 +--
src/rpc/virnetserver.c | 9 ++---
tests/qemumonitortestutils.c | 3 +-
9 files changed, 121 insertions(+), 75 deletions(-)
--
2.5.5