Re: [Qemu-devel] [PATCH 3/7] linux-user: Implement FS_IOC_FIEMAP ioctl

2011-01-09 Thread Blue Swirl
On Fri, Jan 7, 2011 at 8:52 PM, Riku Voipio riku.voi...@iki.fi wrote: From: Peter Maydell peter.mayd...@linaro.org Implement the FS_IOC_FIEMAP ioctl using the new support for custom handling of ioctls; this is needed because the struct that is passed includes a variable-length array.

Re: [Qemu-devel] [PATCH 3/7] linux-user: Implement FS_IOC_FIEMAP ioctl

2011-01-09 Thread Blue Swirl
On Sun, Jan 9, 2011 at 5:47 PM, riku voipio riku.voi...@iki.fi 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

Re: [Qemu-devel] [PATCH 3/7] linux-user: Implement FS_IOC_FIEMAP ioctl

2011-01-09 Thread Martin Mohring
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: CCi386-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

Re: [Qemu-devel] [PATCH 3/7] linux-user: Implement FS_IOC_FIEMAP ioctl

2011-01-09 Thread Peter Maydell
On 9 January 2011 19:08, Blue Swirl blauwir...@gmail.com wrote: On Sun, Jan 9, 2011 at 5:47 PM, riku voipio riku.voi...@iki.fi 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:

[Qemu-devel] [PATCH 3/7] linux-user: Implement FS_IOC_FIEMAP ioctl

2011-01-07 Thread Riku Voipio
From: Peter Maydell peter.mayd...@linaro.org Implement the FS_IOC_FIEMAP ioctl using the new support for custom handling of ioctls; this is needed because the struct that is passed includes a variable-length array. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Riku Voipio