From 3544572931c1290cb1e969659befa9f6b5443758 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Fri, 21 Jul 2023 19:07:28 -0700 Subject: [PATCH] config(qemu): disable HPET by default This fixes OpenIndiana reboot loop. Fixes #2394 --- Configuration/UTMQemuConfiguration+Arguments.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Configuration/UTMQemuConfiguration+Arguments.swift b/Configuration/UTMQemuConfiguration+Arguments.swift index 5878e7566..01f03e047 100644 --- a/Configuration/UTMQemuConfiguration+Arguments.swift +++ b/Configuration/UTMQemuConfiguration+Arguments.swift @@ -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, *, *) {