Note that no version of mirage-xen with the new API has been released yet, so we might want to wait for that before merging.
The text was updated successfully, but these errors were encountered:
- `Gntref.t` is now abstract - update sexp converters to use `to_int32`/`from_int32`. - `gntshr_interface_open` is no longer needed. - Instead of wrapping the underlying share type with our own (that just converts the grant refs to `int32`), use the underlying object directly. This is needed because `Export.t` is now abstract and we so cannot create them ourselves, but it seems simpler this way too. - The new `Export.unshare` requires us to say whether to release the grant refs too. It looks like we should have been doing this, so I passed `true` here, although the original code didn't. The old Gnt API was a bit vague about this; it looks like it released the refs on Unix but not on Xen.