Re: [PATCH] configure: Add linux header compile support for LoongArch

2024-01-15 Thread Philippe Mathieu-Daudé
On 15/1/24 08:31, Bibo Mao wrote: When compiling qemu with system KVM mode for LoongArch, header files in directory linux-headers/asm-loongarch should be used firstly. Otherwise it fails to find kvm.h on system with old glibc, since latest kernel header files are not installed. This patch adds l

[PATCH] configure: Add linux header compile support for LoongArch

2024-01-14 Thread Bibo Mao
When compiling qemu with system KVM mode for LoongArch, header files in directory linux-headers/asm-loongarch should be used firstly. Otherwise it fails to find kvm.h on system with old glibc, since latest kernel header files are not installed. This patch adds linux_arch definition for LoongArch s