From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
Zhao Liu <zhao1.liu@intel.com>,
Alexandr Moshkov <dtalexundeer@yandex-team.ru>
Subject: Re: [PATCH] tests/functional/x86_64: Limit the memlock test to Linux hosts
Date: Wed, 14 Jan 2026 10:01:47 +0000 [thread overview]
Message-ID: <aWdpi4ibUm9qNrwa@redhat.com> (raw)
In-Reply-To: <20260114095904.35442-1-thuth@redhat.com>
On Wed, Jan 14, 2026 at 10:59:04AM +0100, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
>
> The memlock test analyzes /proc/*/status files and expects the layout
> from Linux in there. However, these files also exist on NetBSD hosts
> with a completely different layout, causing this test to fail. Thus
> limit the test to Linux hosts now.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> tests/functional/x86_64/meson.build | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/functional/x86_64/meson.build b/tests/functional/x86_64/meson.build
> index f78eec5e6cf..97286d78b8f 100644
> --- a/tests/functional/x86_64/meson.build
> +++ b/tests/functional/x86_64/meson.build
> @@ -9,12 +9,13 @@ test_x86_64_timeouts = {
> 'virtio_balloon': 120,
> }
>
> -tests_x86_64_system_quick = [
> +tests_x86_64_system_quick = \
> + (host_os == 'linux' ? ['memlock'] : []) + \
IMHO this should be done with a decorator in the test program, so
we keep all conditions in the source, not meson.
> +[
> 'bad_vmstate',
> 'cpu_model_versions',
> 'cpu_queries',
> 'mem_addr_space',
> - 'memlock',
> 'migration',
> 'pc_cpu_hotplug_props',
> 'virtio_version',
> --
> 2.52.0
>
>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2026-01-14 10:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 9:59 [PATCH] tests/functional/x86_64: Limit the memlock test to Linux hosts Thomas Huth
2026-01-14 10:01 ` Daniel P. Berrangé [this message]
2026-01-16 8:09 ` Thomas Huth
2026-01-16 9:43 ` Daniel P. Berrangé
2026-01-16 9:46 ` Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aWdpi4ibUm9qNrwa@redhat.com \
--to=berrange@redhat.com \
--cc=dtalexundeer@yandex-team.ru \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=zhao1.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.