On Thu, Dec 12, 2019 at 04:37:42PM +0000, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > > Pop queue elements off queues, copy the data from them and > pass that to fuse. > > Note: 'out' in a VuVirtqElement is from QEMU > 'in' in libfuse is into the daemon > > So we read from the out iov's to get a fuse_in_header > > When we get a kick we've got to read all the elements until the queue > is empty. > > Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > --- > tools/virtiofsd/fuse_i.h | 2 + > tools/virtiofsd/fuse_virtio.c | 100 +++++++++++++++++++++++++++++++++- > 2 files changed, 99 insertions(+), 3 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|