mbox series

[v3,0/4] Disable unsupported features on iOS hosts

Message ID 20210315180341.31638-1-j@getutm.app (mailing list archive)
Headers show
Series Disable unsupported features on iOS hosts | expand

Message

Joelle van Dyne March 15, 2021, 6:03 p.m. UTC
These patches disables code that cannot be compiled or run on iOS by adding
feature/header detection at configure time.

Only the first patch still needs to be reviewed, thanks!

v3:

* Add braces in if statement in third patch

v2:

* Broken merge where config_host['CONFIG_SMBD_COMMAND'] was duplicated.

Joelle van Dyne (4):
  block: feature detection for host block support
  block: check for sys/disk.h
  block: detect DKIOCGETBLOCKCOUNT/SIZE before use
  slirp: feature detection for smbd

 configure            | 26 ++++++++++++++++++---
 meson.build          |  9 ++++++--
 qapi/block-core.json | 10 +++++---
 block.c              |  2 +-
 block/file-posix.c   | 54 +++++++++++++++++++++++++-------------------
 net/slirp.c          | 16 ++++++-------
 6 files changed, 77 insertions(+), 40 deletions(-)