From: Fabiano Rosas <farosas@suse.de>
To: Michael Tokarev <mjt@tls.msk.ru>,
Junjie Cao <junjie.cao@intel.com>,
qemu-devel@nongnu.org
Cc: berrange@redhat.com, peterx@redhat.com,
qemu-stable <qemu-stable@nongnu.org>
Subject: Re: [PATCH v3 0/4] io/channel: complete pread/pwrite_all API and fix multifd_file_recv_data
Date: Wed, 29 Apr 2026 11:24:53 -0300 [thread overview]
Message-ID: <877bpprgi2.fsf@suse.de> (raw)
In-Reply-To: <e893c0f8-1826-4f30-b4ed-ee2932bf5dfd@tls.msk.ru>
Michael Tokarev <mjt@tls.msk.ru> writes:
> On 26.04.2026 11:15, Michael Tokarev wrote:
>> On 14.04.2026 00:45, Junjie Cao wrote:
>>> This series fixes two bugs in multifd_file_recv_data() and completes
>>> the positioned read/write "all" API set for QIO channels.
>>>
>>> Bug summary:
>>> - size_t variable storing ssize_t return: -1 wraps to SIZE_MAX
>>> - error_prepend() called without ERRP_GUARD(): NULL deref on short
>>> read
>>> Junjie Cao (4):
>>> io/channel: introduce qio_channel_pread{v,}_all{,_eof}()
>>> io/channel: introduce qio_channel_pwrite{v,}_all()
>>> migration/file: fix type mismatch and NULL deref in
>>> multifd_file_recv_data
>>> tests/unit: add pread/pwrite _all tests for io channel file
>>>
>>> include/io/channel.h | 133 +++++++++++++++++++
>>> io/channel.c | 139 ++++++++++++++++++++
>>> migration/file.c | 13 +-
>>> tests/unit/test-io-channel-file.c | 207 ++++++++++++++++++++++++++++++
>>> 4 files changed, 486 insertions(+), 6 deletions(-)
>>
>> Hi!
>>
>> Is this a qemu-stable material? The amount of new code this series
>> introduces is somewhat large, but it fixes real bugs in the end. On
>> the other hand, these bugs doesn't seem to be very serious, so.. I'm
>> not sure :)
>>
>> How do you think, should we pick this up for the current stable releases?
>> It applies cleanly to 10.0.x (the earliest stable series currently
>> supported).
>
> For 10.0.x, it also needs two more changes to work:
>
> a5bc1ccca95 migration: simplify error reporting after channel read
> 1edf0df2840 io: Add qio_channel_wait_cond() helper
>
> Thanks,
Hi! Sorry for the delay. I don't think we need this series for
stable. It's a fairly unlikely issue.
prev parent reply other threads:[~2026-04-29 14:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 21:45 [PATCH v3 0/4] io/channel: complete pread/pwrite_all API and fix multifd_file_recv_data Junjie Cao
2026-04-13 21:45 ` [PATCH v3 1/4] io/channel: introduce qio_channel_pread{v, }_all{, _eof}() Junjie Cao
2026-04-14 15:49 ` Fabiano Rosas
2026-04-17 9:45 ` [PATCH v3 1/4] io/channel: introduce qio_channel_pread{v,}_all{,_eof}() Daniel P. Berrangé
2026-04-13 21:45 ` [PATCH v3 2/4] io/channel: introduce qio_channel_pwrite{v,}_all() Junjie Cao
2026-04-14 15:54 ` [PATCH v3 2/4] io/channel: introduce qio_channel_pwrite{v, }_all() Fabiano Rosas
2026-04-17 9:46 ` Daniel P. Berrangé via qemu development
2026-04-13 21:45 ` [PATCH v3 3/4] migration/file: fix type mismatch and NULL deref in multifd_file_recv_data Junjie Cao
2026-04-14 15:55 ` Fabiano Rosas
2026-04-13 21:45 ` [PATCH v3 4/4] tests/unit: add pread/pwrite _all tests for io channel file Junjie Cao
2026-04-14 16:01 ` Fabiano Rosas
2026-04-17 9:47 ` Daniel P. Berrangé
2026-04-17 16:51 ` [PATCH v3 0/4] io/channel: complete pread/pwrite_all API and fix multifd_file_recv_data Junjie Cao
2026-04-17 9:48 ` Daniel P. Berrangé
2026-04-17 14:04 ` Peter Xu
2026-04-26 8:15 ` Michael Tokarev
2026-04-26 8:21 ` Michael Tokarev
2026-04-29 14:24 ` Fabiano Rosas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877bpprgi2.fsf@suse.de \
--to=farosas@suse.de \
--cc=berrange@redhat.com \
--cc=junjie.cao@intel.com \
--cc=mjt@tls.msk.ru \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.