From 437f28aabdcea2e63ed3fc56d295b20624b3345c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 8 Nov 2024 11:21:41 +0100 Subject: [qemu] Completely disable looking-glass Fragile, too many moving parts. --- .../src/main/java/org/openslx/runvirt/plugin/qemu/App.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 ); } -- cgit v1.2.3-55-g7522