Re: [PATCH v2 05/13] perf: Force architectures to opt-in to guest callbacks

From: Paolo Bonzini
Date: Tue Sep 21 2021 - 12:44:42 EST


On 28/08/21 21:47, Peter Zijlstra wrote:
+config HAVE_GUEST_PERF_EVENTS
+ bool
depends on HAVE_KVM

It won't really do anything, since Kconfig does not detects conflicts between select' and 'depends on' clauses.

Rather, should the symbol be selected by KVM, instead of ARM64 and X86?

Paolo