remove not available intel cpu flags on amd cpu

efeu

Renowned Member
Nov 6, 2015
91
8
73
There seems to be an "older" bug in pve - when I enable kvm_amd avic, proxmox would add x2apic flag to and EPIC cpu (which is and intel cpu flag, so no wonder it cannot work)
More information:
https://bugzilla.redhat.com/show_bug.cgi?id=1675030

I could fix this by my own, so please link me to the corresponding script, where pve sets the flags, so I will manualy edit this for my needs until you will patch this behaviour.
 
OK, I found it
add:
push @$cpuFlags , '-x2apic' if $cpu eq 'EPYC';
in sub get_cpu_options
in
/usr/share/perl5/PVE/QemuServer/CPUConfig.pm

Sould be disabled by detecting AMD CPU
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!