[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] is anybody experimenting with the idea of rust code in
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] is anybody experimenting with the idea of rust code in QEMU? |
Date: |
Tue, 21 May 2019 17:15:20 +0200 |
Hi Peter
On Tue, May 21, 2019 at 4:40 PM Peter Maydell <address@hidden> 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