Add KMS testing via QEMU
This adds running tests via KVM/QEMU using https://github.com/amluto/virtme. A Linux kernel is built automatically from https://cgit.freedesktop.org/drm/drm/ and KVM dependent test cases are run in a per test case launched virtual machine, all via meson.
To test the added test in particular, run e.g. meson test kvm-kms-render
.
It's disabled by default for two major reasons: 1) It'll add significant disk usage and first compile time the first time, since the Linux kernel is built too, 2) these tests cannot yet run in CI.
Depends on https://github.com/martinpitt/python-dbusmock/pull/95
Edited by Jonas Ådahl