mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
b509e1228b
commit
df57ba919e
3 changed files with 111 additions and 4 deletions
|
@ -171,6 +171,10 @@ static int fuse_send_msg(struct fuse_session *se, struct fuse_chan *ch,
|
|||
}
|
||||
}
|
||||
|
||||
if (fuse_lowlevel_is_virtio(se)) {
|
||||
return virtio_send_msg(se, ch, iov, count);
|
||||
}
|
||||
|
||||
abort(); /* virtio should have taken it before here */
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue