[Rust-VMM] Crate for vhost-user device backend?

Jiang Liu liuj97 at gmail.com
Thu Jan 17 11:32:57 UTC 2019



> On Jan 17, 2019, at 7:30 PM, Dr. David Alan Gilbert <dgilbert at redhat.com> wrote:
> 
> * Jiang Liu (liuj97 at gmail.com) wrote:
>> 
>> 
>>> On Jan 17, 2019, at 6:58 PM, Marc-André Lureau <marcandre.lureau at gmail.com> wrote:
>>> 
>>> Hi
>>> 
>>> On Thu, Jan 17, 2019 at 2:56 PM Jiang Liu <liuj97 at gmail.com <mailto:liuj97 at gmail.com>> wrote:
>>>> 
>>>> We are working on a vhostuser-rs crate, and planned to posted it for RFC later.
>>> 
>>> Great news! Looking forward for it! Feel free to share WIP if you want help.
>>> 
>>>> 
>>>>> On Jan 17, 2019, at 6:52 PM, Stefan Hajnoczi <stefanha at redhat.com> wrote:
>>>>> 
>>>>> Hi,
>>>>> Has anyone implemented a vhost-user device backend in Rust?
>>>>> 
>>>>> QEMU's libvhost-user and DPDK's librte_vhost are C implementations that
>>>>> provide a device backend API.  They allow you to implement
>>>>> vhost-user-net, vhost-user-blk, and vhost-user-scsi devices as a
>>>>> separate process from the main emulator.
>> We are working on this direction, but  enhancements to firecracker/rust-vmm are need to support 
>> vhostuser. For example we need to support memfd based memory slot management. It’s really
>> great if we could cooperate on it.
> 
> Are you working on it for the hypervisor side, or the device side, or
> both?
Currently we are focusing on the hypervisor side and vhostuser transport layer. No work on the virtio backend device yet.

> 
> Dave
> 
>> 
>>>>> 
>>>>> Stefan
>>>>> _______________________________________________
>>>>> Rust-vmm mailing list
>>>>> Rust-vmm at lists.opendev.org
>>>>> http://lists.opendev.org/cgi-bin/mailman/listinfo/rust-vmm
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Rust-vmm mailing list
>>>> Rust-vmm at lists.opendev.org <mailto:Rust-vmm at lists.opendev.org>
>>>> http://lists.opendev.org/cgi-bin/mailman/listinfo/rust-vmm <http://lists.opendev.org/cgi-bin/mailman/listinfo/rust-vmm>
>>> 
>>> 
>>> 
>>> -- 
>>> Marc-André Lureau
>> 
> 
>> _______________________________________________
>> Rust-vmm mailing list
>> Rust-vmm at lists.opendev.org
>> http://lists.opendev.org/cgi-bin/mailman/listinfo/rust-vmm
> 
> --
> Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK




More information about the Rust-vmm mailing list