diff options
author | Simon Rettberg | 2022-04-22 11:57:56 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-04-22 11:57:56 +0200 |
commit | 35bf0de6c39b8f2f43f8890cfc1f1d35a29a1fd4 (patch) | |
tree | 3d1e8c76ce5c76cd0c017cca12b108abc6c95ee9 /core | |
parent | [run-virt/hardware-stats] Move dependencies around (diff) | |
download | mltk-35bf0de6c39b8f2f43f8890cfc1f1d35a29a1fd4.tar.gz mltk-35bf0de6c39b8f2f43f8890cfc1f1d35a29a1fd4.tar.xz mltk-35bf0de6c39b8f2f43f8890cfc1f1d35a29a1fd4.zip |
[qemu] Add lightdm warning if GVT-g is not available
Diffstat (limited to 'core')
3 files changed, 9 insertions, 0 deletions
diff --git a/core/modules/qemu/data/opt/openslx/system-check/hooks.d/50-gvt b/core/modules/qemu/data/opt/openslx/system-check/hooks.d/50-gvt new file mode 100755 index 00000000..8b96da62 --- /dev/null +++ b/core/modules/qemu/data/opt/openslx/system-check/hooks.d/50-gvt @@ -0,0 +1,5 @@ +#!/bin/ash + +if grep -qF enable_gvt=1 /proc/cmdline && dmesg | grep -q "Unsupported.*GVT.*disabled"; then + echo "slx-qemu-no-gvt" +fi diff --git a/core/modules/qemu/data/opt/openslx/system-check/lang/de/slx-qemu-no-gvt b/core/modules/qemu/data/opt/openslx/system-check/lang/de/slx-qemu-no-gvt new file mode 100644 index 00000000..a2d5b8fa --- /dev/null +++ b/core/modules/qemu/data/opt/openslx/system-check/lang/de/slx-qemu-no-gvt @@ -0,0 +1,2 @@ +* GVT-g ist für diesen Host aktiviert, jedoch unterstützt die CPU diese Funktion nicht. + QEMU-VMs werden keine Grafikbeschleunigung nutzen können. diff --git a/core/modules/qemu/data/opt/openslx/system-check/lang/en/slx-qemu-no-gvt b/core/modules/qemu/data/opt/openslx/system-check/lang/en/slx-qemu-no-gvt new file mode 100644 index 00000000..cec8ff60 --- /dev/null +++ b/core/modules/qemu/data/opt/openslx/system-check/lang/en/slx-qemu-no-gvt @@ -0,0 +1,2 @@ +* GVT-g is enabled for this machine, but the CPU doesn't support it. + QEMU-VMs will not be able to use accelerated graphics. |