linux-stable/Documentation
Oliver Upton e65733b5c5 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 <pbonzini@redhat.com>
Acked-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230404154050.2270077-2-oliver.upton@linux.dev
2023-04-05 12:07:41 +01:00
..
2023-01-16 09:26:05 +01:00
2023-02-21 15:27:48 -08:00
2023-03-04 10:53:59 -08:00
2023-03-14 11:31:57 -06:00
2023-01-30 16:40:15 +01:00
2023-02-22 18:28:03 -08:00
2023-02-15 20:59:44 +01:00
2023-02-26 11:53:25 -08:00
2023-02-23 15:09:31 -08:00
2023-03-14 11:31:08 -06:00
2023-02-25 11:52:57 -08:00
2023-02-22 13:41:41 -08:00
2023-01-27 12:14:17 +00:00
2023-01-26 12:43:33 +09:00