Re: Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-24 Thread Eric Blake
On Mon, Jan 22, 2024 at 05:19:19PM +, Peter Maydell wrote: > On Thu, 18 Jan 2024 at 16:03, Manolo de Medici > wrote: > > > > qemu uses the PATH_MAX and IOV_MAX constants extensively > > in the code. Define these constants to sensible values ourselves > > if the system doesn't define them alre

Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-23 Thread Manolo de Medici
On Mon, Jan 22, 2024 at 6:40 PM Peter Maydell wrote: > > On Mon, 22 Jan 2024 at 17:27, Daniel P. Berrangé wrote: > > > > On Thu, Jan 18, 2024 at 05:02:23PM +0100, Manolo de Medici wrote: > > > qemu uses the PATH_MAX and IOV_MAX constants extensively > > > in the code. Define these constants to se

Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-22 Thread Peter Maydell
On Mon, 22 Jan 2024 at 17:27, Daniel P. Berrangé wrote: > > On Thu, Jan 18, 2024 at 05:02:23PM +0100, Manolo de Medici wrote: > > qemu uses the PATH_MAX and IOV_MAX constants extensively > > in the code. Define these constants to sensible values ourselves > > if the system doesn't define them alre

Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-22 Thread Daniel P . Berrangé
On Thu, Jan 18, 2024 at 05:02:23PM +0100, Manolo de Medici wrote: > qemu uses the PATH_MAX and IOV_MAX constants extensively > in the code. Define these constants to sensible values ourselves > if the system doesn't define them already. Please give details of what platform(s) lack these constants

Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:03, Manolo de Medici wrote: > > qemu uses the PATH_MAX and IOV_MAX constants extensively > in the code. Define these constants to sensible values ourselves > if the system doesn't define them already. > > Signed-off-by: Manolo de Medici > --- > include/qemu/osdep.h | 8

[PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-18 Thread Manolo de Medici
qemu uses the PATH_MAX and IOV_MAX constants extensively in the code. Define these constants to sensible values ourselves if the system doesn't define them already. Signed-off-by: Manolo de Medici --- include/qemu/osdep.h | 8 1 file changed, 8 insertions(+) diff --git a/include/qemu/o