[PATCH 0/2] Fix QEMU compilation on Debian 10

David 'Digit' Turner posted 2 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230405125920.2951721-1-digit@google.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
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
[PATCH 0/2] Fix QEMU compilation on Debian 10
Posted by David 'Digit' Turner 1 year, 1 month ago
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
Re: [PATCH 0/2] Fix QEMU compilation on Debian 10
Posted by Paolo Bonzini 1 year ago
Queued, thanks.

Paolo