Skip to content

Commit

Permalink
config(qemu): disable HPET by default
Browse files Browse the repository at this point in the history
This fixes OpenIndiana reboot loop.

Fixes #2394
  • Loading branch information
osy committed Jul 22, 2023
1 parent 5730f98 commit 3544572
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Configuration/UTMQemuConfiguration+Arguments.swift
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ import Virtualization // for getting network interfaces
properties = properties.appendingDefaultPropertyName("pcspk-audiodev", value: "audio1")
}
#endif
// disable HPET because it causes issues for some OS and also hinders performance
properties = properties.appendingDefaultPropertyName("hpet", value: "off")
}
if target == "virt" || target.hasPrefix("virt-") && !architecture.hasPrefix("riscv") {
if #available(macOS 12.4, iOS 15.5, *, *) {
Expand Down

0 comments on commit 3544572

Please sign in to comment.