On 21/05/19 16:39, Peter Maydell 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 know Paolo has had a look at how you might write some makefiles > to integrate rust into a C program (https://github.com/bonzini/rust-and-c/). > Has anybody else been doing anything in this general area ?
I have a version of QEMU's RCU that can be called from Rust code with a nice API (https://github.com/bonzini/rust-rcu-qemu). The idea was to continue with a port of the memory API, and then to use rust-vmm's virtio code. Paolo > (I went to two good talks locally recently about rust-vmm and Amazon's > 'firecracker' VMM by Andreea Florescu and Diana Popa -- I > definitely plan to look at rust-vmm as part of this.) > > thanks > -- PMM >