[PATCH v9 09/11] block: check availablity for preadv/pwritev on mac

2021-01-25 Thread Joelle van Dyne
macOS 11/iOS 14 added preadv/pwritev APIs. Due to weak linking, configure will succeed with CONFIG_PREADV even when targeting a lower OS version. We therefore need to check at run time if we can actually use these APIs. Signed-off-by: Joelle van Dyne --- block/file-posix.c | 33 +

Re: [PATCH v9 09/11] block: check availablity for preadv/pwritev on mac

2021-01-26 Thread Peter Maydell
On Tue, 26 Jan 2021 at 01:38, Joelle van Dyne wrote: > > macOS 11/iOS 14 added preadv/pwritev APIs. Due to weak linking, configure > will succeed with CONFIG_PREADV even when targeting a lower OS version. I just ran into this this afternoon. It turns out that all our OSX CI configs pass --enable-