diff options
author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2021-10-01 16:27:46 +0200 |
---|---|---|
committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2021-10-27 14:45:22 +0200 |
commit | cc82fde9c7b4b598907914896ee6942fa866258c (patch) | |
tree | 5c5e3b609e3ad3058d330dcff6a200e8c8ab071d /hw/9pfs | |
parent | 42bdeb04b6a4bf3e54f4d7f87193803268ba8255 (diff) |
9pfs: make V9fsPath usable via P9Array API
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <79a0ddf8375f6c95f0565ef155a1bf1e9387664f.1633097129.git.qemu_oss@crudebyte.com>
Diffstat (limited to 'hw/9pfs')
-rw-r--r-- | hw/9pfs/9p.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index e874899ef5..15bb16f466 100644 --- a/hw/9pfs/9p.c +++ b/hw/9pfs/9p.c @@ -50,6 +50,8 @@ enum { Oappend = 0x80, }; +P9ARRAY_DEFINE_TYPE(V9fsPath, v9fs_path_free); + static ssize_t pdu_marshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...) { ssize_t ret; |