Page 1 of 1

QEMU and Apple M4

Posted: Fri Nov 07, 2025 1:27 am
by Typan
Hello,

I am trying to create my own 64 bit kernel on a M4 Apple MacBook. When I setup paging and start the interrupts it crashes / stuck and I get a black screen. Is there anybody who knows if QEMU had a problem with MacBook M4 ?

Thank you for helping :-)

Kind regards,

Robert

Re: QEMU and Apple M4

Posted: Fri Nov 07, 2025 3:14 am
by iansjack
How did you install qemu? Is your kernel an aarch64 one or is it x86_64?

I haven't used native qemu, but I can confirm that qemu works just fine in an aarch64 Linux virtual machine running on an M4 Mac mini (via VMWare Fusion).

Re: QEMU and Apple M4

Posted: Fri Nov 07, 2025 5:17 am
by Typan
It is x86_64 with a custom build 64 bit kernel. I fully develop on the Mac.

Re: QEMU and Apple M4

Posted: Fri Nov 07, 2025 5:47 am
by iansjack
As I said, I use a Linux (Fedora) VM on my M4 Mac mini. I just find the Linux tools more versatile and easier to deal with than the OS X ones. But I can't see any reason why qemu wouldn't work just fine natively. I presume that you compiled it yourself via MacPorts or something similar?