I just installed windows 11 in a VM, tried to get the wsl running and getting the dreaded 0x80370102. No issues with wsl 2 in VMs with windows 10 on same server.
# qm config 203
root@pve1:~# pveversion -v
Code:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
# qm config 203
Code:
agent: 1
bios: ovmf
boot: order=scsi0;net0
cores: 4
efidisk0: ZFS01:vm-203-disk-1,efitype=4m,pre-enrolled-keys=1,size=1M
machine: pc-q35-6.1
memory: 16384
meta: creation-qemu=6.1.0,ctime=1645760547
name: win11-main
net0: virtio=16:30:D2:F3:E1:37,bridge=vmbr0,tag=2
numa: 0
ostype: win11
scsi0: ZFS01:vm-203-disk-0,backup=0,cache=writeback,discard=on,size=90G
scsihw: virtio-scsi-pci
smbios1: uuid=39d4982f-7a95-4f48-b261-49c124264716
sockets: 1
tpmstate0: ZFS01:vm-203-disk-2,size=4M,version=v2.0
vmgenid: 750b5ca2-49c7-4c10-a22e-c1a3e6b0b011
root@pve1:~# pveversion -v
Code:
proxmox-ve: 7.1-1 (running kernel: 5.13.19-2-pve)
pve-manager: 7.1-7 (running version: 7.1-7/df5740ad)
pve-kernel-helper: 7.1-6
pve-kernel-5.13: 7.1-5
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph-fuse: 15.2.15-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-5
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-14
libpve-guest-common-perl: 4.0-3
libpve-http-server-perl: 4.0-4
libpve-storage-perl: 7.0-15
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.1.2-1
proxmox-backup-file-restore: 2.1.2-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-4
pve-cluster: 7.1-2
pve-container: 4.1-2
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-3
pve-ha-manager: 3.3-1
pve-i18n: 2.6-2
pve-qemu-kvm: 6.1.0-3
pve-xtermjs: 4.12.0-1
qemu-server: 7.1-4
smartmontools: 7.2-1
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.1-pve3