This repository was archived by the owner on Oct 24, 2022. It is now read-only.

Description
Hi,
A lot of this is almost certainly down to my lack of experience with Rust but it can't hurt to improve the documentation on usage.
Can vhost-user-backend be used in a single-threaded daemon?
As I understand it the Send/Sync traits are all about how to deal with concurrency for the struct. Does this mean you have to spawn additional threads for each request being serviced or can you have a simple single-threaded daemon?
Which method do incoming vhost-user messages arrive at?
I thought it was handle_event but the comments imply this is for specific FD's and not the standard vhost-user FD. A rough outline of the main message loop would be helpful here.
Can you point to any canonical use cases of vhost-user-backend?
I'm familiar with the virtiofsd daemon but it has a lot going on. A list of other known users of the crate would help in seeing example use and how to plumb things together.
Thanks.