Files
linux/arch/x86/include/uapi/asm
Paolo Bonzini f3c80061c0 KVM: SEV: fix compat ABI for KVM_MEMORY_ENCRYPT_OP
The data structs for KVM_MEMORY_ENCRYPT_OP have different sizes for 32- and 64-bit
userspace, but they do not make any attempt to convert from one ABI to the other
when 32-bit userspace is running on 64-bit kernels.  This configuration never
worked, and SEV is only for 64-bit kernels so we're not breaking ABI on 32-bit
kernels.

Fix this by adding the appropriate padding; no functional change intended
for 64-bit userspace.

Reviewed-by: Michael Roth <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
2024-03-18 19:03:52 -04:00
..
…
2024-01-03 11:46:22 +01:00
…
2021-03-28 22:52:15 +02:00
…
…
…
…
2021-03-18 15:31:53 +01:00
…
2023-08-02 15:01:51 -07:00
…
…
…
2022-07-07 10:13:03 -07:00
…
2023-12-20 19:26:31 -05:00
…
…
…
2022-06-08 05:56:24 -04:00