Re: [Qemu-devel] [PATCH v3 01/13] 9p: linux: Fix a couple Linux assumptions

2018-06-25 Thread Greg Kurz
On Sat, 16 Jun 2018 20:56:45 -0400 Keno Fischer wrote: > From: Keno Fischer > > - Guard Linux only headers. > - Add qemu/statfs.h header to abstract over the which >headers are needed for struct statfs I've suggested in some other mail that you introduce a QEMU type for struct statfs wit

[Qemu-devel] [PATCH v3 01/13] 9p: linux: Fix a couple Linux assumptions

2018-06-16 Thread Keno Fischer
From: Keno Fischer - Guard Linux only headers. - Add qemu/statfs.h header to abstract over the which headers are needed for struct statfs - Define `ENOATTR` only if not only defined (it's defined in system headers on Darwin). Signed-off-by: Keno Fischer --- fsdev/file-op-9p.h