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: Implement SOL_ALG encryption support") Signed-off-by: Ilya Leoshkevich <i...@linux.ibm.com> --- linux-user/syscall.c | 2 ++ 1 file changed, 2 insertions(+)