[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1007152: RFP: virtiofsd -- vhost-user virtio-fs device backend written in Rust



Thomas Koch wrote:
> Hash: SHA256
> 
> * Package name    : virtiofsd
>   Version         : 1.1.0
>   Upstream Author : multiple, Chromium OS, Intel Corp, Red Hat
> * URL             : https://gitlab.com/virtio-fs/virtiofsd
> * License         : BSD and Apache
>   Programming Lang: Rust
>   Description     : vhost-user virtio-fs device backend written in Rust
> 
> Implementation of virtio FS: https://virtio-fs.gitlab.io for fast sharing of
> host filesystem with a VM guest.

I am also interested in this, but
I haven't time to learn the rust-jutsu.

In the meantime the the older C-based virtiofsd in qemu works OK --
I am booting off virtiofs using Debian 11's virt-manager/libvirtd/qemu:

    qemu-system-common: /usr/lib/qemu/virtiofsd

    https://manpages.debian.org/virtiofsd

    https://github.com/qemu/qemu/tree/master/tools/virtiofsd

It is not clear to me what, specifically, upstream has improved in the
virtiofsd-rs codebase -- there isn't a ./NEWS or anything yet.

As at v1.4.0, the ./Cargo.toml lists these dependencies:

    [dependencies]
    bitflags = "1.2"                                        > in Debian 11
    capng = "0.2.2"                                         > not in Debian
    env_logger = "0.8.4"                                    > in Debian 12
    futures = {
      version = "0.3",                                      > in Debian 12
      features = ["thread-pool"] }
    libc = "~0.2.120"                                       > in Debian 12
    log = "0.4"                                             > in Debian 11
    libseccomp-sys = "0.2"                                  > in Debian 11
    structopt = "0.3"                                       > in Debian 11
    vhost-user-backend = "0.5.1"                            > not in Debian?
    vhost = "0.4"                                           > not in Debian?
    virtio-bindings = {
      version = "0.1",                                      > not in Debian?
      features = ["virtio-v5_0_0"] }
    vm-memory = {
      version = ">=0.7",                                    > in Debian Sid
      features = ["backend-mmap", "backend-atomic"] }
    virtio-queue = "0.4"                                    > not in Debian?
    vmm-sys-util = "0.10"                                   > not in Debian (Sid version too old)
    syslog = "6.0"                                          > in Debian 12

So I guess there's a few dependency libraries that have to be done first.


Reply to: