Hey everyone, I'm trying to install an AlmaLinux 9 guest. When I try to boot from AlmaLinux 9 ISO I get stuck in a kernel panic. The host on which I'm trying to run AlmaLinux 9 guest, is running the same OS by itself.
My research shows that RHEL9 derived distros are using x86_64-v2 instruction set which may not be present in the QEMU virtual CPU. The host's CPU model is AMD Ryzen 9 series. I tried to expose the host's CPU model with all its features by adding "guest.cpu.mode=host" setting into agent.properties file. After restarting the agent, I just deleted the VM and re-created it but the result is the same. To see if the new cpu mode setting is working, I just deployed a new VM using an older version of AlmaLinux and I checked the VM's cpu model by running "cat /proc/cpuinfo" command. Output of the command still shows "QEMU Virtual CPU" as the CPU model inside the guest. Any idea on why the host CPU model is not being exposed and how to solve the kernel panic issue? TIA Regards.