Hi Peter On Tue, May 21, 2019 at 4:40 PM Peter Maydell <peter.mayd...@linaro.org> wrote: > > Hi; I have on my todo list the idea of some experimentation/prototyping > of whether being able to write some components of QEMU in Rust would > be (a) feasible (b) beneficial (c) fun to play around with even if > it is likely that it doesn't go anywhere :-)
I wrote slirp bindings, and a helper process that can be used by qemu (https://github.com/elmarco/libslirp-rs & https://www.redhat.com/archives/libvir-list/2019-April/msg01233.html). I have done some experimentation slowly replacing slirp C code with rust (https://gitlab.freedesktop.org/slirp/libslirp/issues/3). I decided to try from scratch as well, using smoltcp. I have dhcp/udp/tcp working to some extent so far (I keep in mind a future libslirp compatible ABI, if needed). -- Marc-André Lureau