Re: [Qemu-devel] [PATCH] vfio: fix build error on CentOS 5.7

2015-06-18 Thread Peter Maydell
On 17 June 2015 at 15:47, Alex Williamson wrote: > On Wed, 2015-06-17 at 13:35 +0100, Leon Alrae wrote: >> Include linux/vfio.h after sys/ioctl.h, just like in hw/vfio/common.c. >> >> Signed-off-by: Leon Alrae > > Thanks for the patch. Peter, if you want to pop this in as a build fix, > I'd wel

Re: [Qemu-devel] [PATCH] vfio: fix build error on CentOS 5.7

2015-06-17 Thread Alex Williamson
On Wed, 2015-06-17 at 13:35 +0100, Leon Alrae wrote: > Include linux/vfio.h after sys/ioctl.h, just like in hw/vfio/common.c. > > Signed-off-by: Leon Alrae > --- > CentOS 5 is one of hosts I still use. For building I already provide custom > GLib to satisfy version 2.22 dependency. However, with

Re: [Qemu-devel] [PATCH] vfio: fix build error on CentOS 5.7

2015-06-17 Thread Eric Auger
Hi Leon, On 06/17/2015 02:35 PM, Leon Alrae wrote: > Include linux/vfio.h after sys/ioctl.h, just like in hw/vfio/common.c. > > Signed-off-by: Leon Alrae > --- > CentOS 5 is one of hosts I still use. For building I already provide custom > GLib to satisfy version 2.22 dependency. However, with co

[Qemu-devel] [PATCH] vfio: fix build error on CentOS 5.7

2015-06-17 Thread Leon Alrae
Include linux/vfio.h after sys/ioctl.h, just like in hw/vfio/common.c. Signed-off-by: Leon Alrae --- CentOS 5 is one of hosts I still use. For building I already provide custom GLib to satisfy version 2.22 dependency. However, with commit 0ea2730b QEMU doesn't build on CentOS 5.7: CCmips-s