On Thu, 23 Sep 2021 16:28:11 +0200 Halil Pasic <pa...@linux.ibm.com> wrote:
> Can't we use some of the established constants instead of hard coding a > qemu specific IOV_MAX? > > POSIX.1 seems to guarantee the availability of IOV_MAX in <limits.h> > according to: https://man7.org/linux/man-pages/man2/readv.2.html > and <sys/uio.h> may have UIO_MAXIOV defined. Never mind, the #define IOV_MAX 1024 in osdep.h is conditional and I guess we already use IOV_MAX from limit when CONFIG_IOVEC is defined, i.e. when we don't emulate the interface. Sorry for the noise. Regards, Halil