andrijapanicsb opened a new pull request, #702:
URL: https://github.com/apache/cloudstack-documentation/pull/702

   ### In short
   
   This updates the Windows Server 2025 note on the "Importing VMware VMs into 
KVM" page. It lists the three things a
   Windows Server 2025 guest needs to boot after the import (UEFI with q35, a 
host CPU model, and a virt-v2v whose first
   boot does not loop). It also describes an optional, community-maintained 
virt-v2v build for EL9 hosts that already has
   the upstream first-boot fixes.
   
   Related issue: apache/cloudstack#13241
   
   ### Why
   
   Operators importing a Windows Server 2025 VM from VMware hit one of three 
problems today:
   
   | Situation | What they see | Cause | What the page now says |
   |---|---|---|---|
   | Instance created with BIOS + i440fx | "No bootable device" | The guest 
uses UEFI on VMware | Set the Instance setting `UEFI` to `LEGACY` (or `SECURE`) 
before the first start |
   | Default QEMU CPU model | Windows does not start | Windows Server 2025 
needs SSE4.2 and POPCNT | `guest.cpu.mode=host-passthrough` (or `host-model`) 
on the KVM hosts |
   | Stock EL9 virt-v2v (2.7.1-19.el9_7) | Endless restarts on the first boot | 
One driver (`smbus`) fails and the first-boot script retries forever | Option 
A: remove `smbus` from the virtio-win ISO (the existing workaround). Option B: 
an EL9 virt-v2v build with the upstream fix |
   
   The restart loop is fixed upstream (libguestfs/virt-v2v#202, 
libguestfs/libguestfs-common#54), but EL9 does not ship
   those fixes yet. The existing ISO workaround only avoids the `smbus` 
failure; any other driver that fails on the first
   boot still loops with the stock package.
   
   ### What changed
   
   - The existing Windows Server 2025 note becomes a warning with the three 
requirements, in the order an operator meets
     them. The UEFI and CPU findings come from the testing in 
apache/cloudstack#13241.
   - The existing `smbus` ISO workaround is kept unchanged, as option A.
   - New option B: how to install the community-maintained build on an EL9 KVM 
host. It covers checking the signing key's
     fingerprint and the package signature, installing it, restarting the agent 
so the host details show the new version,
     locking the package against `dnf update`, and returning to the stock 
package.
   - The page says plainly that this build is not provided, tested or supported 
by the Apache CloudStack project.
   
   ### Disclosure
   
   I maintain the build in option B 
(https://github.com/v2kmigrate/virt-v2v-el9). It is the stock AlmaLinux 9 
source RPM
   plus backported upstream patches, GPL-2.0+, with the source RPM in every 
release. The patches are listed with their
   upstream pull requests in the repository. I also use it in the V2K Migrate 
tool. Option A needs no third-party
   software, and option B is optional.
   
   ### Not covered / not verified
   
   - Option B is for EL9 hosts only (no Ubuntu build).
   - The option B build has so far been tested through `virt-v2v-in-place` (the 
V2K Migrate conversion path), not yet
     through CloudStack's own VMware import. A CloudStack-native import of a 
Windows Server 2025 guest with this build is
     planned once the release used in the example (`.v2k5`) is published; until 
then, the latest published release is
     `.v2k4`.
   - Whether newer CloudStack versions detect the guest's UEFI boot during the 
import was not checked. The UEFI step is
     needed when the Instance was created with BIOS boot.
   
   ### Details
   
   - Page: 
`source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst` 
(replaces the note that starts
     "Windows Server 2025 enforces a stricter driver-signature policy").
   - CPU requirement source: Microsoft, "Hardware Requirements for Windows 
Server" (Windows Server 2025 tab lists SSE4.2
     and POPCNT): 
https://learn.microsoft.com/en-us/windows-server/get-started/hardware-requirements
   - Signing key: "V2K Migrate Packages", fingerprint `7DD7 2D9D B1D8 3F05 0853 
D6C8 B1A0 4AAE 39CA ECD0`.
   - The CloudStack agent reads the virt-v2v version when it connects 
(`HOST_VIRTV2V_VERSION` in
     `LibvirtReadyCommandWrapper`), which is why the page says to restart the 
agent after installing.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to