On Wed, Oct 01, 2025 at 03:07:23PM -0400, Steven Sistare wrote:
> That does not make sense.  It already does that, which is why I used it:
> 
> util/memfd.c
> 
> int qemu_memfd_create(const char *name, size_t size, bool hugetlb,
>                       uint64_t hugetlbsize, unsigned int seals, Error **errp)
> {
>     ...
> #ifdef CONFIG_LINUX
>     ...
>     return mfd;
> #else
>     error_setg_errno(errp, ENOSYS, "failed to create memfd");
> #endif
>     return -1;
> }
> 
> Did the windows build fail due to a different error?

https://gitlab.com/peterx/qemu/-/jobs/11566477462

See util/meson.build:

if host_os != 'windows'
  ...
  util_ss.add(files('memfd.c'))
  ...

-- 
Peter Xu


Reply via email to