diff options
| author | 2026-03-02 13:26:19 -0800 | |
|---|---|---|
| committer | 2026-03-12 10:56:36 -0700 | |
| commit | 55be358e17af4aa218f173cd6eb17a0dc423cd70 (patch) | |
| tree | 69a1c16fa4600aedf71b7149ca115922467f563e /tools/perf/scripts/python | |
| parent | KVM: X86: Fix array_index_nospec protection in __pv_send_ipi (diff) | |
KVM: x86: Immediately fail the build when possible if required #define is missing
Guard usage of the must-be-defined macros in KVM's multi-include headers
with the existing #ifdefs that attempt to alert the developer to a missing
macro, and spit out an explicit #error message if a macro is missing, as
referencing the missing macro completely defeats the purpose of the #ifdef
(the compiler spews a ton of error messages and buries the targeted error
message).
Suggested-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Yuan Yao <yaoyuan@linux.alibaba.com>
Link: https://patch.msgid.link/20260302212619.710873-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
