[LTP] [PATCH] controllers/cpuset_hotplug: skip unsupported Microsoft Hyper-V

Petr Vorel pvorel@suse.cz
Wed Jun 23 11:32:31 CEST 2021


Hi Krzysztof,

> Detect the Hyper-V with systemd and if it succeeds, skip the test.
> This of course does not support all possible cases, e.g. running tests
> under Hyper-V without systemd will still fail, but it's a easy way to
> avoid test failure in common configuration.

Yes, we use systemd-detect-virt also in lib/tst_virt.c. We could steal code from
systemd (src/basic/virt.c), but as nobody has complained, this will have to wait
for somebody who is not using systemd.

Kind regards,
Petr


More information about the ltp mailing list