Commit Graph

4 Commits

Author SHA1 Message Date
Richard W.M. Jones
f48e9e218c Fix rtl8139-test
Patch sent upstream 2023-02-27.
2023-02-27 17:43:05 +00:00
Richard W.M. Jones
d8ea841ee8 Fix build with glib2 2.75.3 (RHBZ#2173639) 2023-02-27 16:09:52 +00:00
Richard W.M. Jones
fb1517ca3f Fix virtio-blk-pci detect-zeroes=unmap (RHBZ#2173357) 2023-02-27 11:47:44 +00:00
Daniel P. Berrangé
c59732e734 Fix compat with linux > 6.1 headers
In file included from /usr/include/linux/btrfs.h:29,
                 from ../linux-user/syscall.c:163:
/usr/include/linux/fs.h:50:8: error: redefinition of 'struct file_clone_range'
   50 | struct file_clone_range {
      |        ^~~~~~~~~~~~~~~~
../linux-user/syscall.c:129:8: note: originally defined here
  129 | struct file_clone_range {
      |        ^~~~~~~~~~~~~~~~

was caused by btrfs.h gaining an include of linux/fs.h,
which clashed with QEMU's workaround for glibc compat
with linux/mount.h.  GLibc huas fixed their sys/mount.h
so we can drop the QEMU workaround, thus fixing the
btrfs.h problem.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-01-10 13:03:55 -05:00