diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2018-06-07 20:11:14 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:36 +0000 |
commit | d14bf584dd965821e80d14c16d9292a464b1ab85 (patch) | |
tree | 504db4662ed529c7dffd18aa4930cfa306dc45e0 /tools/virtiofsd/fuse_virtio.h | |
parent | 4ff075f72be2f489c8998ae492ec5cdbbbd73e07 (diff) |
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>
Diffstat (limited to 'tools/virtiofsd/fuse_virtio.h')
-rw-r--r-- | tools/virtiofsd/fuse_virtio.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/virtiofsd/fuse_virtio.h b/tools/virtiofsd/fuse_virtio.h new file mode 100644 index 0000000000..8f2edb69ca --- /dev/null +++ b/tools/virtiofsd/fuse_virtio.h @@ -0,0 +1,23 @@ +/* + * virtio-fs glue for FUSE + * Copyright (C) 2018 Red Hat, Inc. and/or its affiliates + * + * Authors: + * Dave Gilbert <dgilbert@redhat.com> + * + * Implements the glue between libfuse and libvhost-user + * + * This program can be distributed under the terms of the GNU LGPLv2. + * See the file COPYING.LIB + */ + +#ifndef FUSE_VIRTIO_H +#define FUSE_VIRTIO_H + +#include "fuse_i.h" + +struct fuse_session; + +int virtio_session_mount(struct fuse_session *se); + +#endif |