diff options
author | Wei Liu | 2015-12-03 12:55:49 +0100 |
---|---|---|
committer | Aneesh Kumar K.V | 2016-01-08 11:03:24 +0100 |
commit | 2a0c56aa4c3e9a9f0b7678015ef96afe3e841506 (patch) | |
tree | 5f9cfce7b6d0a9749b7d8d79da4cee52d8bc86c3 /hw/9pfs/9p.h | |
parent | 9pfs: rename virtio-9p.c to 9p.c (diff) | |
download | qemu-2a0c56aa4c3e9a9f0b7678015ef96afe3e841506.tar.gz qemu-2a0c56aa4c3e9a9f0b7678015ef96afe3e841506.tar.xz 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.h | 2 |
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, ...); |