f3c80061c0
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 <michael.roth@amd.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
Kbuild | ||
a.out.h | ||
amd_hsmp.h | ||
auxvec.h | ||
bitsperlong.h | ||
boot.h | ||
bootparam.h | ||
byteorder.h | ||
debugreg.h | ||
e820.h | ||
hw_breakpoint.h | ||
hwcap2.h | ||
ist.h | ||
kvm.h | ||
kvm_para.h | ||
kvm_perf.h | ||
ldt.h | ||
mce.h | ||
mman.h | ||
msgbuf.h | ||
msr.h | ||
mtrr.h | ||
perf_regs.h | ||
posix_types.h | ||
posix_types_32.h | ||
posix_types_64.h | ||
posix_types_x32.h | ||
prctl.h | ||
processor-flags.h | ||
ptrace-abi.h | ||
ptrace.h | ||
sembuf.h | ||
setup.h | ||
setup_data.h | ||
sgx.h | ||
shmbuf.h | ||
sigcontext.h | ||
sigcontext32.h | ||
siginfo.h | ||
signal.h | ||
stat.h | ||
statfs.h | ||
svm.h | ||
swab.h | ||
ucontext.h | ||
unistd.h | ||
vm86.h | ||
vmx.h | ||
vsyscall.h |