4 ms·
> My experience with qemu's usermode emulation is it only wraps syscalls and some ioctls. So you need a complete userland in the target arch. Yes, but that's r
by zozbot234 5y ago
> My experience with qemu's usermode emulation is it only wraps syscalls and some ioctls. So you need a complete userland in the target arch.
Yes, but that's required because the native userland would have a totally different ABI, so it's just not going to work with the target code even in emulated form. The best you can do is have the "target" userland marshal calls to the native userland, translating across native and target ABI. But even that is likely unfeasible in the general case.
- comex 5y ago> The best you can do is have the "target" userland marshal calls to the native userland, translating across native and target ABI. Which is what Box64 does.