Our software development team needs a Windows Server VM to host AppVeyor, a CI/CD platform that requires Hyper-V to dynamically spin up and tear down Windows guest VMs for build and test pipelines. I've run many Windows Server VMs on this Proxmox host without issue, but this is my first time needing to enable Hyper-V inside a VM (nested virtualization). After enabling the Hyper-V role in Windows Server and initiating the required reboot, the VM enters a boot loop. It attempts to restart several times before dropping into Windows Recovery Mode, from which it cannot recover. The VM is essentially bricked at that point.
I've reproduced this twice. My current workaround is snapshotting before enabling Hyper-V so I can roll back, but I have not been able to get a working Hyper-V environment.
here are the Hardware specs and the VM config
PC: Dell T340
CPU: E-2278G
Ram: 64 GB
Proxmox 9.1.6 on the Production ready Repo
Kernel: 6.17.4-2-pve
agent: 1
allow-ksm: 0
balloon: 0
bios: ovmf
boot: order=scsi0;ide2;ide0;net0
cores: 8
cpu: host,flags=+nested-virt
efidisk0: local-zfs:vm-201-disk-0,efitype=4m,ms-cert=2023w,pre-enrolled-keys=1,size=1M
machine: pc-q35-10.1
memory: 16384
numa: 0
sockets: 1
scsihw: virtio-scsi-single
scsi0: local-zfs:vm-201-disk-1,discard=on,iothread=1,size=64G,ssd=1
tpmstate0: local-zfs:vm-201-disk-2,size=4M,version=v2.0
net0: virtio=BC:24:11:67:B6
E,bridge=vmbr0,firewall=1
Has anyone successfully run Hyper-V inside a Proxmox VM with a similar config? Any guidance would be greatly appreciated.
I've reproduced this twice. My current workaround is snapshotting before enabling Hyper-V so I can roll back, but I have not been able to get a working Hyper-V environment.
here are the Hardware specs and the VM config
PC: Dell T340
CPU: E-2278G
Ram: 64 GB
Proxmox 9.1.6 on the Production ready Repo
Kernel: 6.17.4-2-pve
agent: 1
allow-ksm: 0
balloon: 0
bios: ovmf
boot: order=scsi0;ide2;ide0;net0
cores: 8
cpu: host,flags=+nested-virt
efidisk0: local-zfs:vm-201-disk-0,efitype=4m,ms-cert=2023w,pre-enrolled-keys=1,size=1M
machine: pc-q35-10.1
memory: 16384
numa: 0
sockets: 1
scsihw: virtio-scsi-single
scsi0: local-zfs:vm-201-disk-1,discard=on,iothread=1,size=64G,ssd=1
tpmstate0: local-zfs:vm-201-disk-2,size=4M,version=v2.0
net0: virtio=BC:24:11:67:B6
Has anyone successfully run Hyper-V inside a Proxmox VM with a similar config? Any guidance would be greatly appreciated.
