On Tuesday, September 5th, 2023 at 22:27, Sean Christopherson <seanjc@xxxxxxxxxx> wrote: > While this is arguably a regression, this isn't going to be addressed in KVM. OK, I understand. > As for working around this in your setup, assuming you don't actually need a > virtual PMU in the guest, the simplest workaround would be to turn off vPMU > support in KVM, i.e. boot with kvm.enable_pmu=0. That should cause QEMU to not > advertise a PMU to the guest. Newer host kernels seem to have kvm.enable_pmu parameter, but linux-5.10.y kernels do not have that. > Alternatively, if supported by QEMU, you could try enumerating a version 1 > vPMU to the guest. That old version of Qemu does not seem to have that available. I am perfectly OK patching my kernels with my quick-and-dirty fix until I upgrade to newer kernel series. Thank you for your reply. It clarified many things for me. -- Jari Ruusu 4096R/8132F189 12D6 4C3A DCDA 0AA4 27BD ACDF F073 3C80 8132 F189