diff options
| author | 2026-06-25 15:04:46 -0700 | |
|---|---|---|
| committer | 2026-07-08 13:41:18 -0700 | |
| commit | eb7313b66c59b4b8c135d3eb01f68268d4070594 (patch) | |
| tree | ab5a66531e7d041440301a8d47e2de56c5ac9962 /scripts/Makefile.thinlto | |
| parent | KVM: x86: Move CR and DR macro definitions from kvm_host.h => regs.h (diff) | |
KVM: x86: Move KVM_GUESTDBG_VALID_MASK from kvm_host.h => x86.c
Move KVM_GUESTDBG_VALID_MASK into x86.c so that it's not globally visible.
As explained by commit 462474588b19 ("KVM: x86: Move misc "VALID MASK"
defines from kvm_host.h => x86.c"), which unintentionally missed GUESTDBG,
the set of valid flags/bits is very much a KVM-internal detail, as the
values from the hardcoded #defines are often captured and massaged by KVM's
setup code, i.e. *directly* using the macros outside of KVM x86 would be
actively dangerous.
No functional change intended.
Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://patch.msgid.link/20260625220450.3354415-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
