On 5/8/25 08:04, Sean Christopherson wrote:
On Wed, May 07, 2025, Shuah Khan wrote:
The issues Peter is seeing regarding KHDR_INCLUDES in the following tests can be easily fixed by simply changing the test Makefile. These aren't framework related.
kvm/Makefile.kvm: -I ../rseq -I.. $(EXTRA_CFLAGS) $(KHDR_INCLUDES)
...
You can make the change to remove the reference to KHDR_INCLUDES. If don't have the time/bandwidth to do it, I will take care of it.
Please don't remove the KHDR_INCLUDES usage in KVM's selftests, KVM routinely adds tests for new uAPI. Having to manually install headers is annoying, but IMO it's the least awful solution we have.
Thank you for confirming that KHDR_INCLUDES customization is necessary for some tests such as kvm.
thanks, -- Shuah