summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/9p.h
diff options
context:
space:
mode:
authorChristian Schoenebeck2022-09-29 13:41:06 +0200
committerChristian Schoenebeck2022-10-24 12:24:32 +0200
commit684f912034395a4958600a3ccca972db5d31be94 (patch)
tree3122492f4824d6e2faa14484aba56eb3dc7a6dd1 /hw/9pfs/9p.h
parentfsdev/virtfs-proxy-helper: Use g_mkdir() (diff)
downloadqemu-684f912034395a4958600a3ccca972db5d31be94.tar.gz
qemu-684f912034395a4958600a3ccca972db5d31be94.tar.xz
qemu-684f912034395a4958600a3ccca972db5d31be94.zip
tests/9p: split virtio-9p-test.c into tests and 9p client part
This patch is pure refactoring, it does not change behaviour. virtio-9p-test.c grew to 1657 lines. Let's split this file up between actual 9p test cases vs. 9p test client, to make it easier to concentrate on the actual 9p tests. Move the 9p test client code to a new unit virtio-9p-client.c, which are basically all functions and types prefixed with v9fs_* already. Note that some client wrapper functions (do_*) are preserved in virtio-9p-test.c, simply because these wrapper functions are going to be wiped with subsequent patches anyway. As the global QGuestAllocator variable is moved to virtio-9p-client.c, add a new function v9fs_set_allocator() to be used by virtio-9p-test.c instead of fiddling with a global variable across units and libraries. Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <E1odrya-0004Fv-97@lizzy.crudebyte.com>
Diffstat (limited to 'hw/9pfs/9p.h')
0 files changed, 0 insertions, 0 deletions