These patches extend QGA logging interface, primarily under Windows guests. They enable QGA to write to Windows event log, much like syslog() on *nix. In addition we get rid of hardcoded log level used by ga_log().
v2: * Close event_log handle when doing cleanup_agent() * Fix switch cases indentation as reported by scripts/checkpatch.pl Andrey Drobyshev (2): qga-win: add logging to Windows event log qga: map GLib log levels to system levels configure | 3 +++ qga/installer/qemu-ga.wxs | 5 ++++ qga/main.c | 50 +++++++++++++++++++++++++++++++++++---- qga/meson.build | 19 ++++++++++++++- qga/messages-win32.mc | 9 +++++++ 5 files changed, 81 insertions(+), 5 deletions(-) create mode 100644 qga/messages-win32.mc -- 2.38.1