diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2018-06-18 18:46:01 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:36 +0000 |
commit | df57ba919ec3edef9cc208d35685095e6e92713e (patch) | |
tree | 2d3d51264df57e6c90d815f2581eb6256c2f9f4b /tools/virtiofsd/fuse_virtio.h | |
parent | b509e1228b3e5eb83c14819045988999fc2dbd1b (diff) |
virtiofsd: Send replies to messages
Route fuse out messages back through the same queue elements
that had the command that triggered the request.
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>
Diffstat (limited to 'tools/virtiofsd/fuse_virtio.h')
-rw-r--r-- | tools/virtiofsd/fuse_virtio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/virtiofsd/fuse_virtio.h b/tools/virtiofsd/fuse_virtio.h index 23026d6e4c..135a14875a 100644 --- a/tools/virtiofsd/fuse_virtio.h +++ b/tools/virtiofsd/fuse_virtio.h @@ -22,4 +22,8 @@ int virtio_session_mount(struct fuse_session *se); int virtio_loop(struct fuse_session *se); + +int virtio_send_msg(struct fuse_session *se, struct fuse_chan *ch, + struct iovec *iov, int count); + #endif |