QEMU does not compile on an old Debian 10 system for the following reasons:
- Several sources include recent kernel headers that are not provided by this system, and not listed in linux-headers/ - The libvhost-user.c source file ends up including a system kernel header, instead of the up-to-date standard-headers/ version that contains the right macro definition. David 'Digit' Turner (2): Fix libvhost-user.c compilation. Add missing Linux kernel headers. linux-headers/linux/const.h | 36 +++++++ linux-headers/linux/memfd.h | 35 +++++++ linux-headers/linux/nvme_ioctl.h | 114 ++++++++++++++++++++++ linux-headers/linux/vfio.h | 15 +-- scripts/update-linux-headers.sh | 4 +- subprojects/libvhost-user/libvhost-user.c | 6 ++ 6 files changed, 202 insertions(+), 8 deletions(-) create mode 100644 linux-headers/linux/const.h create mode 100644 linux-headers/linux/memfd.h create mode 100644 linux-headers/linux/nvme_ioctl.h -- 2.40.0.348.gf938b09366-goog