* Peter Xu (pet...@redhat.com) wrote: > On Fri, May 06, 2022 at 10:57:54PM -0300, Leonardo Bras wrote: > > diff --git a/io/channel-socket.c b/io/channel-socket.c > > index 05c425abb8..f03a068f25 100644 > > --- a/io/channel-socket.c > > +++ b/io/channel-socket.c > > @@ -25,9 +25,18 @@ > > #include "io/channel-watch.h" > > #include "trace.h" > > #include "qapi/clone-visitor.h" > > +#ifdef CONFIG_LINUX > > +#include <linux/errqueue.h> > > +#include <sys/socket.h> > > + > > +#if (defined(MSG_ZEROCOPY) && defined(SO_ZEROCOPY)) > > +#define QEMU_MSG_ZEROCOPY > > +#endif > > +#endif > > > > #define SOCKET_MAX_FDS 16 > > > > + > > This line can be dropped when merge.
Done > > SocketAddress * > > qio_channel_socket_get_local_address(QIOChannelSocket *ioc, > > Error **errp) > > This does look nicer, imho. :) > > Thanks! > > -- > Peter Xu > > -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK