Re: [PATCH 1/3] linux-user: Fix the build on systems without SOL_ALG

2023-08-11 Thread Philippe Mathieu-Daudé
On 10/8/23 23:51, Ilya Leoshkevich wrote: Building QEMU on CentOS 7 fails, because there SOL_ALG is not defined. There already exists #if defined(SOL_ALG) in do_setsockopt(); add it to target_to_host_cmsg() as well. Does including "crypto/afalgpriv.h" help? Fixes: 27404b6c15c1 ("linux-user: I

[PATCH 1/3] linux-user: Fix the build on systems without SOL_ALG

2023-08-10 Thread Ilya Leoshkevich
Building QEMU on CentOS 7 fails, because there SOL_ALG is not defined. There already exists #if defined(SOL_ALG) in do_setsockopt(); add it to target_to_host_cmsg() as well. Fixes: 27404b6c15c1 ("linux-user: Implement SOL_ALG encryption support") Signed-off-by: Ilya Leoshkevich --- linux-user/sy