Re: [PATCH v2 4/4] Exclude TPM ioctls definitions for the GNU/Hurd

2024-01-22 Thread Peter Maydell
On Mon, 22 Jan 2024 at 19:30, Stefan Berger wrote: > > > > On 1/22/24 12:16, Peter Maydell wrote: > > On Thu, 18 Jan 2024 at 16:04, Manolo de Medici > > wrote: > >> > >> The Hurd currently doesn't have any TPM driver, compilation fails > >

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 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

Re: [PATCH v2 4/4] Exclude TPM ioctls definitions for the GNU/Hurd

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:04, Manolo de Medici wrote: > > The Hurd currently doesn't have any TPM driver, compilation fails > for missing symbols unless these are left undefined. > > Signed-off-by: Manolo de Medici > --- > backends/tpm/tpm_ioctl.h | 2 +- > 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH v2 3/4] Add the GNU/Hurd as a target host

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:04, Manolo de Medici wrote: > > Signed-off-by: Manolo de Medici > --- > configure | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configure b/configure > index 21ab9a64e9..fb11ede5b2 100755 > --- a/configure > +++ b/configure > @@ -353,6 +353,8 @@ elif check_

Re: [PATCH v2 2/4] Avoid conflicting types for 'copy_file_range'

2024-01-22 Thread Peter Maydell
(Cc'ing the block folks) On Thu, 18 Jan 2024 at 16:03, Manolo de Medici wrote: > > Compilation fails on systems where copy_file_range is already defined as a > stub. What do you mean by "stub" here ? If the system headers define a prototype for the function, I would have expected the meson check

Re: [PATCH v2 0/4] Port qemu to GNU/Hurd

2024-01-22 Thread Peter Maydell
On Thu, 18 Jan 2024 at 16:02, Manolo de Medici wrote: > > Recently, a testsuite for gnumach, the GNU/Hurd microkernel, was developed > that uses qemu. Currently qemu cannot be compiled for the GNU/Hurd, as such, > this testsuite is available only for GNU/Linux users. > > This patcheset allows qemu

Re: [PATCH 3/4] Allow tests to be disabled

2024-01-17 Thread Peter Maydell
On Wed, 17 Jan 2024 at 12:59, Manolo de Medici wrote: > > tests/qtest/tpm-* compilation is not disabled by disable-tpm, > for this reason compilation fails on systems that doesn't > support the linux/bsd TPM api. Fix this by allowing tests > to be disabled. This isn't the right way to fix this. E