mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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:
parent
d14bf584dd
commit
f6f3573c6f
6 changed files with 106 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue