summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2024-11-08 11:21:41 +0100
committerSimon Rettberg2024-11-08 11:21:41 +0100
commit437f28aabdcea2e63ed3fc56d295b20624b3345c (patch)
tree9e59044b206a4396a8de099056ba5dfc879240a2 /core
parent[remote-access] Add another hint regarding remote access to lightdm (diff)
downloadmltk-437f28aabdcea2e63ed3fc56d295b20624b3345c.tar.gz
mltk-437f28aabdcea2e63ed3fc56d295b20624b3345c.tar.xz
mltk-437f28aabdcea2e63ed3fc56d295b20624b3345c.zip
[qemu] Completely disable looking-glass
Fragile, too many moving parts.
Diffstat (limited to 'core')
-rw-r--r--core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/App.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/App.java b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/App.java
index 6626f5fc..1566accc 100644
--- a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/App.java
+++ b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/App.java
@@ -188,9 +188,15 @@ public class App
transformationManager.register( new TransformationSpecificQemuGraphics( hypervisorQemu ), true );
transformationManager.register( new TransformationSpecificQemuSerialDevices( hypervisorQemu ), true );
transformationManager.register( new TransformationSpecificQemuMdevPassthroughIntel( hypervisorQemu ), false );
+ // For now, do not use looking-glass, ever. Windows can handle rendering on the NVIDIA GPU and shoving the
+ // frames onto the QXL device just fine, which might not be as low-latency as looking-glass, but is WAY
+ // less fragile, doesn't require the looking-glass service in the VM, and doesn't require anything to
+ // be connected to the nvidia card. So long, looking-glass!
+ /*
String os = config.getLibOsInfoOsId();
lookingGlass = cmdLn.isNvidiaGpuPassthroughEnabled()
&& ( "http://microsoft.com/win/10".equals( os ) || "http://microsoft.com/win/11".equals( os ) );
+ */
transformationManager.register( new TransformationSpecificQemuPciPassthrough( hypervisorQemu, lookingGlass ), false );
}