News for hackers. Stuff that matters.
Re:Emulating aarch64 in software using JIT compilation and Rust by epilys on Saturday August 30, 2025 @07:15AM (#45073696)
Yes! I also started with using vm_memory traits in the beginning but delayed it till I refactor my memory subsystem. When we get that in upstream QEMU it might be possible to share this implementation as well as future devices.
Re:Emulating aarch64 in software using JIT compilation and Rust by bonzini on Saturday August 30, 2025 @07:43AM (#45073818)
Yep, vm-memory needs pretty large changes to the crate itself but fortunately they're already in progress to add IOMMU support to the virtio and vhost crates. Probably there will be an API break but with old and new crates able to talk to each other so you don't need a flag day.

I am curious if you get to DMA before or after QEMU, and if before what your API will look like.

Re:Emulating aarch64 in software using JIT compilation and Rust by epilys on Saturday August 30, 2025 @08:34AM (#45074093)
Very little free time unfortunately... Haven't spent many hours on this project.