feat(uhyve): use v2 interface, MmioWrite exits on x86_64
Companion PR to https://github.com/hermit-os/uhyve/pull/1145
Small status update: This can't work as-is yet, because we use GuestVirtAddr for the write and read implementations inside src/fd/stdio.rs and src/fs/uhyve.rs, whereas uhyve-interface v2 should now use GuestPhysAddr instead.
The issue causing the CI to fail was technically fixed in https://github.com/hermit-os/kernel/pull/2066/files, but we don't expect a new release for v1 of uhyve-interface (in which https://github.com/hermit-os/kernel/pull/2066/files would've helped.)
We can work around this by using @fogti's work that effectively shifts this responsibility onto hermit-entry:
- https://github.com/hermit-os/hermit-entry/pull/64
- https://github.com/hermit-os/kernel/pull/2066
Alternatively, we can use [patch.crates-io] and force the kernel to use the latest commit for Uhyve.
CC: @jounathaen, @mkroening
but we don't expect a new release for v1 of
uhyve-interface
Note that we don't need a new release of uhyve-interface because the error itself only manifests if we use the faulty macro from uhyve-interface.