GitHub user daviftorres added a comment to the discussion: Installation of 
Windows Server 2025 on KVM Hypervisors in bootloop

Dear @sourceYan , sorry for jumping on late to the discussion.

I believe the problem resides here "Everything in CS is default, no UEFI or 
Secure boot in the moment."

In our experience, the latest Windows only got to pass this "bootloop" after we 
set up UEFI.

Appended the following lines to `/etc/cloudstack/agent/uefi.properties`.

```
guest.nvram.template.secure=/usr/share/OVMF/OVMF_VARS_4M.ms.fd
guest.nvram.template.legacy=/usr/share/OVMF/OVMF_VARS_4M.fd
guest.nvram.path=/var/lib/libvirt/qemu/nvram/
guest.loader.secure=/usr/share/OVMF/OVMF_CODE_4M.secboot.fd
guest.loader.legacy=/usr/share/OVMF/OVMF_CODE_4M.fd
```

We also made other configuration to `/etc/cloudstack/agent/agent.properties`, 
such as:

```
guest.cpu.mode=host-passthrough
guest.cpu.features=vmx aes smx mmx ht
vm.memballoon.stats.period=5
vm.video.hardware=qxl
```

Hope that helps.

GitHub link: 
https://github.com/apache/cloudstack/discussions/11714#discussioncomment-14691084

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to