summaryrefslogtreecommitdiff
path: root/hw/9pfs/9p.h
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2015-12-03 11:55:49 +0000
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2016-01-08 15:33:24 +0530
commit2a0c56aa4c3e9a9f0b7678015ef96afe3e841506 (patch)
tree5f9cfce7b6d0a9749b7d8d79da4cee52d8bc86c3 /hw/9pfs/9p.h
parent60ce86c7140d5ca33d5fd87ce821681165d06b2a (diff)
downloadqemu-2a0c56aa4c3e9a9f0b7678015ef96afe3e841506.tar.gz
qemu-2a0c56aa4c3e9a9f0b7678015ef96afe3e841506.tar.bz2
qemu-2a0c56aa4c3e9a9f0b7678015ef96afe3e841506.zip
9pfs: factor out v9fs_device_{,un}realize_common
Signed-off-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'hw/9pfs/9p.h')
-rw-r--r--hw/9pfs/9p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h
index b62c9a885a..3fe4da4e28 100644
--- a/hw/9pfs/9p.h
+++ b/hw/9pfs/9p.h
@@ -318,6 +318,8 @@ extern void v9fs_path_free(V9fsPath *path);
extern void v9fs_path_copy(V9fsPath *lhs, V9fsPath *rhs);
extern int v9fs_name_to_path(V9fsState *s, V9fsPath *dirpath,
const char *name, V9fsPath *path);
+extern int v9fs_device_realize_common(V9fsState *s, Error **errp);
+extern void v9fs_device_unrealize_common(V9fsState *s, Error **errp);
ssize_t pdu_marshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...);
ssize_t pdu_unmarshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...);