On 09/09/2019 14:32, Andrew Cooper wrote: > c/s f089fddd941 broke the Ocaml ABI by renumering XEN_SYSCTL_PHYSCAP_directio > without adjusting the Ocaml physinfo_cap_flag enumeration. Fix this by > inserting CAP_PV between CAP_HVM and CAP_DirectIO. > > c/s 82239182eb3 extended the XEN_SYSCTL_PHYSCAP_* ABI with a HAP bit. Extend > the physinfo_cap_flag enumeration to match. > > Factor out the bitmap-to-list conversion logic into a helper, to avoid an > opencoded truncation of the bitmap. To cover this, add BUILD_BUG_ON()'s at > the caller for each constant in the C-to-Ocaml conversion, and for the the > applicable max/all constant. > > This will result in a compile time failure whenever constants get > renumbered/added without a compatible adjustment to the Ocaml ABI. > > Signed-off-by: Andrew Cooper <[email protected]>
Sorry - please ignore this. It is based incorrectly WRT Roger's series. _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
