Created
December 20, 2023 08:10
-
-
Save Alex4386/e7a41d86e53ee27eabe8c2ca74625247 to your computer and use it in GitHub Desktop.
Add `noxsaves` dialect for Proxmox on deploying on `xsaves`-less Linux kernel versions on EPYC Rome-based processors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://forum.proxmox.com/threads/cant-use-epyc-rome-cpu-after-update.125336/ | |
TARGET="/etc/pve/virtual-guest/cpu-models.conf" | |
cat >> $TARGET <<- EOF | |
cpu-model: EPYC-Rome-noxsaves | |
flags -xsaves | |
phys-bits host | |
hidden 0 | |
hv-vendor-id proxmox | |
reported-model EPYC-Rome | |
cpu-model: EPYC-Rome-v2-noxsaves | |
flags -xsaves | |
phys-bits host | |
hidden 0 | |
hv-vendor-id proxmox | |
reported-model EPYC-Rome-v2 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are using
PVE API
, usecustom-EPYC-Rome-noxsaves
orcustom-EPYC-Rome-v2-noxsaves
to refer this customcpu-model
.