aboutsummaryrefslogtreecommitdiffstats
path: root/hw/9pfs/xen-9pfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/9pfs/xen-9pfs.h')
-rw-r--r--hw/9pfs/xen-9pfs.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/hw/9pfs/xen-9pfs.h b/hw/9pfs/xen-9pfs.h
new file mode 100644
index 000000000..241e2216a
--- /dev/null
+++ b/hw/9pfs/xen-9pfs.h
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+
+#ifndef HW_9PFS_XEN_9PFS_H
+#define HW_9PFS_XEN_9PFS_H
+
+#include "hw/xen/interface/io/protocols.h"
+#include "hw/xen/interface/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);
+
+#endif