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

2024-01-16 Thread Philippe Mathieu-Daudé
On 16/1/24 02:39, 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 v2] configure: Add linux header compile support for LoongArch

2024-01-15 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