On Wed, Nov 11, 2026 at 01:23:41PM +0100, Markus Armbruster wrote:
> qemu_memfd_create() reports something like
> 
>     failed to create memfd with flags 0x3: Invalid argument
> 
> when memfd_create() fails.  To make sense of this, you have to
> understand what flags are, and how to decode them.
> 
> qemu_memfd_create() computes the flags from @seals and @hugetlb, so
> show these instead, like this:
> 
>     failed to create memfd with sealing and without huge pages: Invalid 
> argument
> 
> Signed-off-by: Markus Armbruster <[email protected]>
> ---
>  util/memfd.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|


Reply via email to