OSDN Git Service

update-linux-headers.sh: Add missing kernel headers.
authorDavid 'Digit' Turner <digit@google.com>
Wed, 5 Apr 2023 17:21:08 +0000 (19:21 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Apr 2023 12:03:52 +0000 (14:03 +0200)
commit9fc7dd234f527f411b08e6a266a5ab8e7b79f64f
tree344b5a32f51f1157cb498517f565e1a2776addc4
parent193ba660af14fc20cddaa04c20bb79ed05d1dbf0
update-linux-headers.sh: Add missing kernel headers.

Add <linux/memfd.h>, used by hw/display/virtio-gpu-udmabuf.c
Add <linux/nvme_ioctl.h>, used by qga/commands-posix.c
Add <linux/const.h> used by kvm-all.c, which requires
the _BITUL() macro definition to be available.

Without these, QEMU will not compile on Debian 10 systems.

Signed-off-by: David 'Digit' Turner <digit@google.com>
Message-Id: <20230405172109.3081788-3-digit@google.com>
[Add <linux/stddef.h> for __DECLARE_FLEX_ARRAY. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/update-linux-headers.sh