summaryrefslogtreecommitdiffstats
path: root/fsdev
diff options
context:
space:
mode:
authorChristian Schoenebeck2021-10-01 16:27:46 +0200
committerChristian Schoenebeck2021-10-27 14:45:22 +0200
commitcc82fde9c7b4b598907914896ee6942fa866258c (patch)
tree5c5e3b609e3ad3058d330dcff6a200e8c8ab071d /fsdev
parent9pfs: make V9fsString usable via P9Array API (diff)
downloadqemu-cc82fde9c7b4b598907914896ee6942fa866258c.tar.gz
qemu-cc82fde9c7b4b598907914896ee6942fa866258c.tar.xz
qemu-cc82fde9c7b4b598907914896ee6942fa866258c.zip
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 'fsdev')
-rw-r--r--fsdev/file-op-9p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h
index 42f677cf38..8fd89f0447 100644
--- a/fsdev/file-op-9p.h
+++ b/fsdev/file-op-9p.h
@@ -18,6 +18,7 @@
#include <utime.h>
#include <sys/vfs.h>
#include "qemu-fsdev-throttle.h"
+#include "p9array.h"
#define SM_LOCAL_MODE_BITS 0600
#define SM_LOCAL_DIR_MODE_BITS 0700
@@ -105,6 +106,7 @@ struct V9fsPath {
uint16_t size;
char *data;
};
+P9ARRAY_DECLARE_TYPE(V9fsPath);
typedef union V9fsFidOpenState V9fsFidOpenState;