diff options
author | Stefano Stabellini <sstabellini@kernel.org> | 2017-03-21 13:51:34 -0700 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-04-25 11:04:28 -0700 |
commit | b37eeb020123d16a2ba10b16b9923088f727b005 (patch) | |
tree | ed7692b7d0da37115af9e4d333d675f364c3f7f8 /hw/9pfs/xen-9pfs.h | |
parent | c9fb47e7d028b7c76655625880eb30666619f636 (diff) |
xen/9pfs: introduce Xen 9pfs backend
Introduce the Xen 9pfs backend: add struct XenDevOps to register as a
Xen backend and add struct V9fsTransport to register as v9fs transport.
All functions are empty stubs for now.
Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/9pfs/xen-9pfs.h')
-rw-r--r-- | hw/9pfs/xen-9pfs.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hw/9pfs/xen-9pfs.h b/hw/9pfs/xen-9pfs.h new file mode 100644 index 0000000000..2d6ef7828c --- /dev/null +++ b/hw/9pfs/xen-9pfs.h @@ -0,0 +1,21 @@ +/* + * Xen 9p backend + * + * Copyright Aporeto 2017 + * + * Authors: + * Stefano Stabellini <stefano@aporeto.com> + * + * This work is licensed under the terms of the GNU GPL version 2 or + * later. See the COPYING file in the top-level directory. + * + */ + +#include <xen/io/protocols.h> +#include "hw/xen/io/ring.h" + +/* + * Do not merge into xen-9p-backend.c: clang doesn't allow unused static + * inline functions in c files. + */ +DEFINE_XEN_FLEX_RING_AND_INTF(xen_9pfs); |