Skip to content
Commit f18ef97f authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: selftests: Add macro for TSS selector, rename up code/data macros



Add a proper #define for the TSS selector instead of open coding 0x18 and
hoping future developers don't use that selector for something else.

Opportunistically rename the code and data selector macros to shorten the
names, align the naming with the kernel's scheme, and capture that they
are *kernel* segments.

Reviewed-by: default avatarAckerley Tng <ackerleytng@google.com>
Link: https://lore.kernel.org/r/20240314232637.2538648-17-seanjc@google.com
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent a2834e6e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment