On Wed, Jan 20, 2021 at 10:45:01AM +, Dr. David Alan Gilbert wrote:
> * Vivek Goyal (vgo...@redhat.com) wrote:
> > - what's the locking model needed to use libvhost-user. Is there one?
>
> I don't think it really had one.
Same. Most libvhost-user applications are single-threaded.
Stefan
s
* Vivek Goyal (vgo...@redhat.com) wrote:
> Hi,
>
> Current virtiofsd code uses libvhost-user and I am assuming virtiofsd-rs
> uses it too. I am wondering what are the locking requirements for
> this library.
No, virtiofsd-rs uses the rust crate:
https://github.com/rust-vmm/vhost-user-backend
I g
Hi,
Current virtiofsd code uses libvhost-user and I am assuming virtiofsd-rs
uses it too. I am wondering what are the locking requirements for
this library.
Looking at it it does not look like thread safe. Well parts of of kind
of look thread safe. For example, David Gilbert introduced a slave_mu