> On 14. Jan 2026, at 12:51, Manos Pitsidianakis > <[email protected]> wrote: > > I agree completely, the problem is two-fold here: the HVF exposes APIs > with API_AVAILABLE(...) (clang's availability attribute) and also with > plain ifdefs (__MAC_OS_X_VERSION_MAX_ALLOWED >= 150200), and > specifically the HV_SME_FOO_REG variants, which cannot be protected > with the availability attribute. ) > > So every time an SME type such as hv_vcpu_sme_state_t is used, it has > to be guarded :/ __builtin_available(...) check is not sufficient > because it will not compile due to undefined types.
Hello, Newer SDKs can still target older OSes so we might get away with just requiring a new SDK but still running on older OSes I think?
