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_i.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_i.h')
-rw-r--r-- | tools/virtiofsd/fuse_i.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/virtiofsd/fuse_i.h b/tools/virtiofsd/fuse_i.h index 26b1a7da88..82d6ac7115 100644 --- a/tools/virtiofsd/fuse_i.h +++ b/tools/virtiofsd/fuse_i.h @@ -6,9 +6,10 @@ * See the file COPYING.LIB */ -#define FUSE_USE_VERSION 31 - +#ifndef FUSE_I_H +#define FUSE_I_H +#define FUSE_USE_VERSION 31 #include "fuse.h" #include "fuse_lowlevel.h" @@ -101,3 +102,5 @@ void fuse_session_process_buf_int(struct fuse_session *se, /* room needed in buffer to accommodate header */ #define FUSE_BUFFER_HEADER_SIZE 0x1000 + +#endif |