On 01/09/2011 06:47 PM, riku voipio wrote: > On 01/09/2011 04:47 PM, Blue Swirl wrote: >> This fails if the file doesn't exist: >> CC i386-linux-user/syscall.o >> /src/qemu/linux-user/syscall.c:86:26: error: linux/fiemap.h: No such >> file or directory > >> The fix is to introduce a feature check in configure. > > Perhaps we can do without configure check, since FS_IOC_FIEMAP is > defined in fs.h if fiemap.h is available. See the attached patch.
I have cross checked building on any Debian, Fedora, Ubuntu and openSUSE hosts I could try for x86 32bit and 64bit hosts and can confirm this variant works of course on these. I would also be very interested if you could apply my 2 line linux-user change for loop mount ioctl I sent to the ml (yesterday).