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:30:54 +0200
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
Philippe Gerum <[email protected]> writes: > 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. Actually, having evl-test feed EVL_ON_VM would be better. This way we could still control the vm detection by setting EVL_ON_VM as desired before running the test manually (i.e. without evl-test). I'm preparing a patch for this. -- Philippe.