[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/4] QGA VSS Logging
From: |
Konstantin Kostiuk |
Subject: |
[PATCH v4 0/4] QGA VSS Logging |
Date: |
Mon, 10 Jul 2023 10:46:35 +0300 |
Print all VSS error and trace to debugger and stderr.
v4 -> v3:
Use _countof instead of hardcoded array size
Use fputs instead of fprintf without formating
v3: 20230707092258.768420-1-kkostiuk@redhat.com/">https://patchew.org/QEMU/20230707092258.768420-1-kkostiuk@redhat.com/
v3 -> v2:
Reformat few log lines
Move G_GNUC_PRINTF attribute to the declaration
v2: 20230707083105.746811-1-kkostiuk@redhat.com/">https://patchew.org/QEMU/20230707083105.746811-1-kkostiuk@redhat.com/
v2 -> v1:
Rename debug macro
Move log code to function
v1: 20230705141205.525776-1-kkostiuk@redhat.com/">https://patchew.org/QEMU/20230705141205.525776-1-kkostiuk@redhat.com/
Konstantin Kostiuk (4):
QGA VSS: Add wrapper to send log to debugger and stderr
QGA VSS: Replace 'fprintf(stderr' with PRINT_DEBUG
QGA VSS: Print error in err_set
QGA VSS: Add log in functions begin/end
qga/vss-win32/install.cpp | 45 +++++++++++++++++++++++++++-----
qga/vss-win32/meson.build | 2 +-
qga/vss-win32/provider.cpp | 3 +++
qga/vss-win32/requester.cpp | 51 ++++++++++++++++++++++++++++++++-----
qga/vss-win32/vss-debug.cpp | 38 +++++++++++++++++++++++++++
qga/vss-win32/vss-debug.h | 25 ++++++++++++++++++
6 files changed, 150 insertions(+), 14 deletions(-)
create mode 100644 qga/vss-win32/vss-debug.cpp
create mode 100644 qga/vss-win32/vss-debug.h
--
2.34.1
- [PATCH v4 0/4] QGA VSS Logging,
Konstantin Kostiuk <=