aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2023-04-04 15:40:38 +0000
committerMarc Zyngier <[email protected]>2023-04-05 12:07:41 +0100
commite65733b5c59a1ea20324a03494364958bef3fc68 (patch)
tree0cab1bf283e8914a637776b3427a0abfdf0a55f2 /tools/perf/scripts/python/libxed.py
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
KVM: x86: Redefine 'longmode' as a flag for KVM_EXIT_HYPERCALL
The 'longmode' field is a bit annoying as it blows an entire __u32 to represent a boolean value. Since other architectures are looking to add support for KVM_EXIT_HYPERCALL, now is probably a good time to clean it up. Redefine the field (and the remaining padding) as a set of flags. Preserve the existing ABI by using bit 0 to indicate if the guest was in long mode and requiring that the remaining 31 bits must be zero. Cc: Paolo Bonzini <[email protected]> Acked-by: Sean Christopherson <[email protected]> Signed-off-by: Oliver Upton <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions