qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 1/3] QIOChannel: Add io_writev_zerocopy & io_flush_zerocop


From: Leonardo Bras Soares Passos
Subject: Re: [PATCH v4 1/3] QIOChannel: Add io_writev_zerocopy & io_flush_zerocopy callbacks
Date: Wed, 27 Oct 2021 03:31:14 -0300

On Wed, Oct 27, 2021 at 3:15 AM Peter Xu <peterx@redhat.com> wrote:
>
> On Wed, Oct 27, 2021 at 03:07:13AM -0300, Leonardo Bras Soares Passos wrote:
> > > >
> > > >            if (flags & ZEROCOPY) {
> > > >                assert(fds == NULL && nfds == 0);
> >
> > Quick question: Why is this assert needed?
>
> Not required I think; just want to make sure no one passes in the fds when
> using zero copy mode.

Ok, that makes sense.
I will add it then, thanks!

>
> Thanks,
>
> --
> Peter Xu
>


Best regards,
Leo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]