I remember seeing something similar before. This was supposed to be fixed by the linux kernel commit.
commit 841c2be09fe4f495fe5224952a419bd8c7e5b455 Author: Maxim Levitsky <email address hidden> Date: Wed Jul 8 14:57:31 2020 +0300
kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host
# git describe --contains 841c2be09fe4f495fe5224952a419bd8c7e5b455 v5.9-rc1~121^2~67
Problem seems to happen with EPYC-Rome model which exposes the feature STIBP but not IBRS.
Did you guys try "-cpu host"? It might work.
I remember seeing something similar before. This was supposed to be fixed by the linux kernel commit.
commit 841c2be09fe4f49 5fe5224952a419b d8c7e5b455
Author: Maxim Levitsky <email address hidden>
Date: Wed Jul 8 14:57:31 2020 +0300
kvm: x86: replace kvm_spec_ ctrl_test_ value with runtime test on the host
# git describe --contains 841c2be09fe4f49 5fe5224952a419b d8c7e5b455
v5.9-rc1~121^2~67
Problem seems to happen with EPYC-Rome model which exposes the feature STIBP but not IBRS.
Did you guys try "-cpu host"? It might work.