test-functions: don't nest KVM (#8883)
authorLennart Poettering <lennart@poettering.net>
Wed, 2 May 2018 18:06:13 +0000 (20:06 +0200)
committerGitHub <noreply@github.com>
Wed, 2 May 2018 18:06:13 +0000 (20:06 +0200)
commit3e7aa2edcdc893e1468d91f1174e401aa00e5a55
tree0b71218e4c95cb14a9afa3f68c4ee6307b0309a2
parentfb702dd7dd6e081f619651db4123ec37731711d3
test-functions: don't nest KVM (#8883)

Nested KVM is very flaky as we learnt from our CI. Hence, let's avoid
KVM whenever we detect we are already running inside of KVM.

Maybe one day nested KVM is fixed, at which point we can turn this on
again, but for now let's simply avoid nested KVM, since reliable CI is
more important than quick CI, I guess.

And yes, avoiding KVM for our qemu runs does make things substantially
slower, but I think it's not a complete loss.

Inspired by @evverx' findings in:

https://github.com/systemd/systemd/pull/8701#issuecomment-380213302
test/test-functions