migration: mapped-ram fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | io: Introduce qio_channel_file_new_dupfdinclude/ io/ | +30 | 1 reply | |
| 2/2 | migration: Fix error handling after dup in file migrationmigration/ migration/ | +11 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Daniel P. Berrangé |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] migration: mapped-ram fixes
Hi,
Here are the fixes for the dup() issues found by Coverity.
@Peter Xu, I fixed the leak you found, but I'm holding on to that patch because I noticed we're not freeing the ioc in the error paths. I'll need to add some infrastructure to be able to cancel the glib polling (qio_channel_add_watch_full) when the channel creation fails before the source has connnected.
CI run: https://gitlab.com/farosas/qemu/-/pipelines/1209529440
Fabiano Rosas (2):
io: Introduce qio_channel_file_new_dupfd
migration: Fix error handling after dup in file migration
include/io/channel-file.h | 18 ++++++++++++++++++ io/channel-file.c | 12 ++++++++++++ migration/fd.c | 9 ++++----- migration/file.c | 14 +++++++------- 4 files changed, 41 insertions(+), 12 deletions(-)
Signature · 1 line
2.35.3