Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Configuration/UTMQemuConfiguration+Arguments.swift
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,10 @@ import Virtualization // for getting network interfaces
if system.architecture == .aarch64 && emulatedCpuCount.0 > 8 {
properties = properties.appendingDefaultPropertyName("gic-version", value: "3")
}
// Workaround for SPICE WebDAV crashes on ARM64 virtualization
if system.architecture == .aarch64 && isHypervisorUsed {
properties = properties.appendingDefaultPropertyName("its", value: "off")
}
}
if isClassicMacM68K {
if sound.contains(where: { $0.hardware.rawValue == QEMUSoundDevice_m68k.asc.rawValue }) {
Expand Down
2 changes: 2 additions & 0 deletions Services/UTMSpiceIO.m
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ - (void)changeSharedDirectory:(NSURL *)url {
- (void)startSharingDirectory {
if (self.sharedDirectory) {
UTMLog(@"setting share directory to %@", self.sharedDirectory.path);
UTMLog(@"directory exists: %@", [[NSFileManager defaultManager] fileExistsAtPath:self.sharedDirectory.path] ? @"YES" : @"NO");
UTMLog(@"read-only mode: %@", (self.options & UTMSpiceIOOptionsIsShareReadOnly) ? @"YES" : @"NO");
[self.sharedDirectory startAccessingSecurityScopedResource];
[self.spiceConnection.session setSharedDirectory:self.sharedDirectory.path readOnly:(self.options & UTMSpiceIOOptionsIsShareReadOnly) == UTMSpiceIOOptionsIsShareReadOnly];
}
Expand Down