[PATCH 0/3] logging: fix a couple of issues

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Thu Sep 24 13:24:30 UTC 2020

The code fixed in the first actual patch is quite venerable so I made up
a synthetic test to show issue/test it is fixed. Test covers both issues.
Initially I got /tmp/virtlogd-test size of only 2048 and after the first
fix I saw actual endless loop.

Nikolay Shirokovskiy (3):
  DO NOT APPLY: code to show logging issues
  logging: read all bytes on EOF in event handler
  logging: fix endless loop on EOF

 src/logging/log_handler.c | 10 ++++++----
 src/qemu/qemu_process.c   | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 4 deletions(-)


More information about the libvir-list mailing list