summary refs log tree commit diff stats
path: root/tests/functional/migration.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-08-26 13:34:55 +0100
committerThomas Huth <thuth@redhat.com>2025-08-27 07:07:53 +0200
commit19ae064832dd915e14306c03b94a505abc13b873 (patch)
treefca46f1c7f55c866c552676e7a3eb0abb5403f58 /tests/functional/migration.py
parentfe26463d7b3e0f65de4b11377d762d5dcc03bd24 (diff)
downloadfocaccia-qemu-19ae064832dd915e14306c03b94a505abc13b873.tar.gz
focaccia-qemu-19ae064832dd915e14306c03b94a505abc13b873.zip
tests/functional/test_aarch64_virt_gpu: Skip test if EGL won't initialize
If you are using the Nvidia drivers and have installed new versions
of those packages but have not yet rebooted the host kernel,
attempting to use the egl-headless display will cause QEMU to fail to
start with

$ qemu-system-aarch64 -M virt -display egl-headless
qemu-system-aarch64: egl: eglInitialize failed: EGL_NOT_INITIALIZED
qemu-system-aarch64: egl: render node init failed

together with this complaint in the host kernel dmesg:

[7874777.555649] NVRM: API mismatch: the client has the version 535.247.01, but
                 NVRM: this kernel module has the version 535.230.02.  Please
                 NVRM: make sure that this kernel module and all NVIDIA driver
                 NVRM: components have the same version.

This isn't a problem with QEMU itself, so reporting this as a test
failure is misleading.  Instead skip the tests, as we already do for
various other kinds of "host system can't actually run the EGL
display" situation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20250826123455.2856988-1-peter.maydell@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/migration.py')
0 files changed, 0 insertions, 0 deletions