Skip to content

XNU as a loadable kernel module inside Linux (macOS personality for arm64 Linux)

C

xnulinux.service: the GPU bridge off by default (it hangs the VM in about one boot of six under krunkit)

Heyang Zhou75780cca4396
diff --git a/scripts/install-service.sh b/scripts/install-service.sh
index 510d783..aa2e54a 100755
--- a/scripts/install-service.sh
+++ b/scripts/install-service.sh
@@ -13,7 +13,9 @@ U=$(id -un)
CPUS=${CPUS:-2} # its CPUs (the Linux CPUs from 0 up; Linux keeps the rest and its device interrupts)
RAM_MB=${RAM_MB:-7900} # its memory, within fki's carve-out
#DISK=/var/tmp/mac.img
-#GPU=auto # off: CPU rendering only
+# The GPU bridge (virtio-gpu Venus to the host GPU under krunkit) hangs the whole VM in about one boot of six
+# (all vCPUs stuck in krunkit, no guest output; 0 of 8 with it off): CPU rendering until that is fixed
+GPU=${GPU:-off} # auto: the host GPU when the VM has a render node
#XNU_ARGS="model=VirtualMac2,1"
#BOOTARGS="amfi_get_out_of_my_way=1 lp-sip0=2050"
CONF