Re: [kvm-unit-tests PATCH] x86: Update guest LBR tests for Architectural LBR

From: Sean Christopherson
Date: Wed Mar 03 2021 - 14:07:18 EST


On Wed, Mar 03, 2021, Like Xu wrote:
> This unit-test is intended to test the KVM's support for the
> Architectural LBRs which is a Architectural performance monitor
> unit (PMU) feature on Intel processors.

These really need negative testing, especially on the MSR values. IMO, negative
tests should be mandatory for merging arch LBR support in KVM, it shouldn't be
too much additional effort.