virtiofsd: Start wiring up vhost-user

Listen on our unix socket for the connection from QEMU, when we get it
initialise vhost-user and dive into our own loop variant (currently
dummy).

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
Dr. David Alan Gilbert 2018-06-08 19:59:20 +01:00
parent d14bf584dd
commit f6f3573c6f
6 changed files with 106 additions and 6 deletions

View file

@ -1755,6 +1755,13 @@ void fuse_req_interrupt_func(fuse_req_t req, fuse_interrupt_func_t func,
*/
int fuse_req_interrupted(fuse_req_t req);
/**
* Check if the session is connected via virtio
*
* @param se session object
* @return 1 if the session is a virtio session
*/
int fuse_lowlevel_is_virtio(struct fuse_session *se);
/*
* Inquiry functions