Listen on our unix socket for the connection from QEMU, when we get it initialise vhost-user and dive into our own loop variant (currently dummy). 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>
26 lines
501 B
C
26 lines
501 B
C
/*
|
|
* 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);
|
|
|
|
int virtio_loop(struct fuse_session *se);
|
|
|
|
#endif
|