Re: What are libvhost-user locking requirements

2021-01-21 Thread Stefan Hajnoczi
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

Re: What are libvhost-user locking requirements

2021-01-20 Thread Dr. David Alan Gilbert
* 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