Windows 11 VM

iptvcld

Active Member
May 24, 2019
11
1
41
46
Hello; is there a standard configuration used for setting up a Windows 11 VM? Example CPU Type: x86-64-v2 or x86-64-v2-aes..
I had a VM setup and right away noticed that the disk was constantly held at 100% while using SSD disks. I recall i had some Windows VM setup a year ago and and had no issues and wanted to see if something has changed. Thank you,

Code:
agent: 1
balloon: 0
bios: ovmf
boot: order=scsi0;ide0;net0
cores: 4
cpu: x86-64-v2,flags=-nested-virt
efidisk0: Standalone:102/vm-102-disk-0.raw,efitype=4m,ms-cert=2023k,pre-enrolled-keys=1,size=528K
ide0: Standalone:iso/virtio-win.iso,media=cdrom,size=856810K
machine: pc-q35-11.0+pve2
memory: 6144
meta: creation-qemu=11.0.3,ctime=1792543139
name: Windows11-VM1
net0: virtio=BC:24:11:A9:2F:DA,bridge=vmbr0,tag=100
numa: 0
ostype: win11
scsi0: Standalone:102/vm-102-disk-1.raw,backup=0,discard=on,iothread=1,size=80G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=1ca51e31-a6b9-43e7-bc32-24a15535d585
sockets: 1
tpmstate0: Standalone:102/vm-102-disk-2.raw,size=4M,version=v2.0
vmgenid: 5285f124-d808-4551-8b50-f67373e9db78
 
Last edited:
  • Like
Reactions: leesteken
Windows 11 needs a minimum cpu type of x86-64-v3, although with a proper modern cpu just choose host. V3 should only be used with specific generation hardware (Haswell/broadwell) or in a heterogeneous cluster.
My Host CPU is (24 x 13th Gen Intel(R) Core(TM) i7-13700K (1 Socket)) - i tried Host for the Windows VM and i noticed some lags and when selected a virtual CPU, i noticed better performance. Also does x86-64-v3 use hardware offloading like the x86-64-v2-AES?
 
to simplify- v3=v2+avx2 (which windows11 kernel makes actual use of, and the official installer will fail if hardware support isnt present)

Your experience with host cpu type leading to poorer performance has to do with the division of P+E cores on your modern cpu. Either use x86-64-v3, or host with core pinning (explicitly cores 0-11) to avoid an unexpected core type mix.
 
to simplify- v3=v2+avx2 (which windows11 kernel makes actual use of, and the official installer will fail if hardware support isnt present)

Your experience with host cpu type leading to poorer performance has to do with the division of P+E cores on your modern cpu. Either use x86-64-v3, or host with core pinning (explicitly cores 0-11) to avoid an unexpected core type mix.
Thank you, i will make that change - and i read somewhere to turn off nested-virt under CPU settings, should it be left off or leave it set to Default?
 
and i read somewhere to turn off nested-virt under CPU settings, should it be left off or leave it set to Default?
If it is on then Windows will activate VBS, which makes the VM unusable for some people (or maybe most, I'm not sure. Maybe search the forum?). If you want to run VMs on your Windows or you prefer VBS then keep it on. The default will depend on the chosen CPU type. I don't use Windows but you do, so I assume you know what Windows VBS is and what it is for.
 
If it is on then Windows will activate VBS, which makes the VM unusable for some people (or maybe most, I'm not sure. Maybe search the forum?). If you want to run VMs on your Windows or you prefer VBS then keep it on. The default will depend on the chosen CPU type. I don't use Windows but you do, so I assume you know what Windows VBS is and what it is for.
I understand what VBS is. I’m just trying to clarify the practical impact of this setting when running a Windows 11 VM on Proxmox. Since you mentioned you don’t use Windows, I was hoping to hear more about actual compatibility issues or user experiences rather than assumptions about what I already know.
 
  • Like
Reactions: leesteken