mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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>
This commit is contained in:
parent
c9fb47e7d0
commit
b37eeb0201
2 changed files with 117 additions and 0 deletions
21
hw/9pfs/xen-9pfs.h
Normal file
21
hw/9pfs/xen-9pfs.h
Normal file
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue