mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user