virtiofsd: Open vhost connection instead of mounting
commitd14bf584dd965821e80d14c16d9292a464b1ab85
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 7 Jun 2018 19:11:14 +0000 (7 20:11 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:36 +0000 (23 16:41 +0000)
tree504db4662ed529c7dffd18aa4930cfa306dc45e0
parent4ff075f72be2f489c8998ae492ec5cdbbbd73e07
virtiofsd: Open vhost connection instead of mounting

When run with vhost-user options we conect to the QEMU instead
via a socket.  Start this off by creating the socket.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/fuse_i.h
tools/virtiofsd/fuse_lowlevel.c
tools/virtiofsd/fuse_virtio.c [new file with mode: 0644]
tools/virtiofsd/fuse_virtio.h [new file with mode: 0644]