Skip to content

QGA VSS Logging

Konstantin Kostiuk qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 4 repliesIn review
  2. v44 patches 4 repliesSuperseded
  3. v34 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches3 repliesSuperseded
v14 patches7 repliesSuperseded

v5 -> v4 from the cover letter

Fix commit name according to function rename
Fix function code style
Remove extra \n from log
Add missing log

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4QGA VSS: Add wrapper to send log to debugger and stderrqga/vss-win32/meson.build qga/vss-win32/vss-debug.cpp qga/vss-win32/vss-debug.h+65 -11 reply
2/4QGA VSS: Replace 'fprintf(stderr' with qga_debugqga/vss-win32/install.cpp qga/vss-win32/requester.cpp+11 -101 reply
3/4QGA VSS: Print error in err_setqga/vss-win32/requester.cpp+5 -30 replies
4/4QGA VSS: Add log in functions begin/endqga/vss-win32/install.cpp qga/vss-win32/provider.cpp qga/vss-win32/requester.cpp+72 -02 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéThomas Huth
1/4R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] QGA VSS Logging

Print all VSS error and trace to debugger and stderr.

v5 -> v4:
Fix commit name according to function rename
Fix function code style
Remove extra \n from log
Add missing log

v4: https://patchew.org/QEMU/[email protected]/

v4 -> v3:
Use _countof instead of hardcoded array size
Use fputs instead of fprintf without formating

v3: https://patchew.org/QEMU/[email protected]/

v3 -> v2:
Reformat few log lines
Move G_GNUC_PRINTF attribute to the declaration

v2: https://patchew.org/QEMU/[email protected]/

v2 -> v1:
Rename debug macro
Move log code to function

v1: https://patchew.org/QEMU/[email protected]/

Konstantin Kostiuk (4):
QGA VSS: Add wrapper to send log to debugger and stderr QGA VSS: Replace 'fprintf(stderr' with qga_debug QGA VSS: Print error in err_set
QGA VSS: Add log in functions begin/end

 qga/vss-win32/install.cpp   | 47 +++++++++++++++++++++++++++++-----
 qga/vss-win32/meson.build   |  2 +-
 qga/vss-win32/provider.cpp  |  3 +++
 qga/vss-win32/requester.cpp | 51 ++++++++++++++++++++++++++++++++-----
 qga/vss-win32/vss-debug.cpp | 39 ++++++++++++++++++++++++++++
 qga/vss-win32/vss-debug.h   | 25 ++++++++++++++++++
 6 files changed, 153 insertions(+), 14 deletions(-)
 create mode 100644 qga/vss-win32/vss-debug.cpp
 create mode 100644 qga/vss-win32/vss-debug.h

--
2.34.1