Thank you so much Wei. It solved the issue.

On Sun, 9 Mar 2025, 00:43 Wei ZHOU, <ustcweiz...@gmail.com> wrote:

> Hi,
>
> The guest.cpu.mode should be set to host-passthrough or host-model, not
> "host"
>
> Please refer to
>
> https://docs.cloudstack.apache.org/en/latest/installguide/hypervisor/kvm.html#configure-cpu-model-for-kvm-guest-optional
>
> -Wei
>
>
>
> On Saturday, March 8, 2025, Fariborz Navidan <mdvlinqu...@gmail.com>
> wrote:
>
> > 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.
> >
>

Reply via email to