QEMU
Is a Virtual Machine Software
CPU Model¶
- CPU features per level (v1 → v4) for x86
- v3: AVX, AVX2, …
- v4: AVX-512
Flags¶
- List of all models + available features
- Also available with
qemu-system-x86_64 -cpu help
- Also available with
- Hyper-V Enlightenments
- See also QEMU Custom CPU Model
Best settings when creating a VM¶
- Windows 10 guest best practices
- System
- QEMU Agent: enabled
- Need to be installed with
qemu-guest-agent
or Fedora VirtIO drivers
- Need to be installed with
- Machine type:
q35
+ BIOS:OVMF
for PCI Passthrough, otherwise default is fine
- QEMU Agent: enabled
- CPU
- Type:
x86-64-v4
works fine- better than
host
for Windows as it signal that the machine is a VM
- better than
- ⚠️ Don't use
host
, at least on Proxmox- decrease memory performance
- match the Host CPU
- impact migration to to other systems
- vIOMMU
Intel
has slightly better memory latency
- Type:
- Memory
- Ballooning: enabled, disable on Windows
- Minimum memory: don't use on Windows
- 1 GB must be made available for the host
- Network
- Type: VirtIO
- Display
- Type:
std
orqxl
for SPICE
- Type:
- Firmware
- SeaBIOS by default
- OVMF for Windows 11 and PCI Express
pre-enroll-key
for Windows keys + Secure Boot on- Virtual screen resolution is set in the VM BIOS
- Storage
- For Windows