Re: EVL 7.1 and below on armhf: System hang when running the testsuite under stress

Philippe Gerum <[email protected]> Tue, 23 Jun 2026 14:17:28 +0200
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
Florian Bezdeka <[email protected]> writes:

>> 
>> Since r58, we have the running_on_vm() predicate available to test code,
>> which checks whether the "EVL_ON_VM" environment variable is set to
>> 1/y/yes/Y/YES (unfortunately, I'm not aware of any way to detect this
>> without user input like the valgrind vm allows via some hypercall).
>
> systemd-detect-virt implements a couple of mechanisms to detect a lot of
> different hypervisors. Could we depend on it?
>

Yes, running_on_vm() could try this source if present, falling back to
the envvar method if not.

-- 
Philippe.