macOS VM Boot Issue on Ryzen 9 6900HS Using Virt-Manager and QEMU/KVM

Hello,

I’m experiencing a boot issue with my macOS virtual machine on a Ryzen 9 6900HS system, using QEMU/KVM through Virt-Manager. While I can successfully boot the VM using a QEMU command-line script, attempting to boot the same VM configuration via Virt-Manager results in the boot process freezing at various points.

Here are the key details of my setup:

  • Host System: Ryzen 9 6900HS
  • Virtualization Software: QEMU/KVM with Virt-Manager
  • VM Configuration: macOS VM, configured with 8 vCPUs and 12GB RAM. I’m using an OVMF UEFI firmware (OVMF_CODE.fd and OVMF_VARS.fd).

The QEMU command-line includes specific CPU model flags (Haswell-noTSX), USB devices (keyboard, tablet), and various feature flags. However, when replicating this setup in Virt-Manager (even after manually editing the VM’s XML to match the QEMU configuration), the VM fails to boot completely.

Could anyone provide insights or suggestions on how to troubleshoot this issue further or adjust the Virt-Manager XML configuration to ensure a successful boot?

Thank you for your assistance!