This fixes other issues pointed out in the review of my previous fix for
crash in qemuDomainGetGuestInfo.
Peter Krempa (12):
qemuDomainGetGuestInfo: don't assign NULL hostname
qemuDomainGetGuestInfo: Validate supported information types
qemuAgentCheckError: use g_autofree
qemuAgentCommand: Wire up suppressing of error reporting for
unsupported commands
qemuAgentGetUsers: Fix return value on success
qemuAgentGetHostname: Refactor to remove cleanup section
qemuAgentGetHostname: expose 'report_unsupported' argument
qemuAgentGetUsers: expose 'report_unsupported' argument
qemuAgentGetOSInfo: expose 'report_unsupported' argument
qemuAgentGetTimezone: expose 'report_unsupported' argument
qemuAgentGetFSInfo: expose 'report_unsupported' argument
qemuDomainGetGuestInfo: Suppress non-fatal errors
src/qemu/qemu_agent.c | 194 ++++++++++++++++++++---------------------
src/qemu/qemu_agent.h | 16 ++--
src/qemu/qemu_driver.c | 89 ++++++++++---------
tests/qemuagenttest.c | 14 +--
4 files changed, 162 insertions(+), 151 deletions(-)
--
2.24.1