File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515//
1616
1717#import < dlfcn.h>
18+ #import < TargetConditionals.h>
1819#import " UTMLogging.h"
1920#import " UTMQemuSystem.h"
2021
@@ -108,7 +109,9 @@ - (void)setLogging:(QEMULogging *)logging {
108109- (void )setHasDebugLog : (BOOL )hasDebugLog {
109110 _hasDebugLog = hasDebugLog;
110111 if (hasDebugLog) {
112+ #if TARGET_OS_OSX // FIXME: verbose logging is broken on iOS
111113 self.mutableEnvironment [@" G_MESSAGES_DEBUG" ] = @" all" ;
114+ #endif
112115 self.mutableEnvironment [@" VK_LOADER_DEBUG" ] = @" all" ;
113116 self.mutableEnvironment [@" VIRGL_LOG_LEVEL" ] = @" debug" ;
114117 self.mutableEnvironment [@" MESA_DEBUG" ] = @" 1" ;
Original file line number Diff line number Diff line change @@ -347,9 +347,7 @@ extension UTMQemuVirtualMachine {
347347 system. rendererBackend = rendererBackend
348348 system. vulkanDriver = try vulkanDriver
349349 system. shmemDirectoryURL = await config. shmemDirectoryURL
350- #if os(macOS) // FIXME: verbose logging is broken on iOS
351350 system. hasDebugLog = hasDebugLog
352- #endif
353351 try Task . checkCancellation ( )
354352
355353 if isShortcut {
You can’t perform that action at this time.
0 commit comments