diff options
author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2020-11-01 15:25:14 +0100 |
---|---|---|
committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2020-11-01 19:44:29 +0100 |
commit | 8db193c4108e09996923a4d716b51fc98efb7f3a (patch) | |
tree | 50a04615208fe6a2764bcc88ff2cf0f959f3a736 /tests/qtest/libqos/virtio-9p.h | |
parent | 2ab6c494339652e69ec405dc779d83c46c8faf98 (diff) |
tests/9pfs: make create/remove test dir public
Make functions create_local_test_dir() and remove_local_test_dir()
public. They're going to be used in the next patch.
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <ec90703cbc23d6b612b3672f946d7741f4a16080.1604243521.git.qemu_oss@crudebyte.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Diffstat (limited to 'tests/qtest/libqos/virtio-9p.h')
-rw-r--r-- | tests/qtest/libqos/virtio-9p.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/qtest/libqos/virtio-9p.h b/tests/qtest/libqos/virtio-9p.h index 19a4d97454..480727120e 100644 --- a/tests/qtest/libqos/virtio-9p.h +++ b/tests/qtest/libqos/virtio-9p.h @@ -45,6 +45,16 @@ struct QVirtio9PDevice { }; /** + * Creates the directory for the 9pfs 'local' filesystem driver to access. + */ +void virtio_9p_create_local_test_dir(void); + +/** + * Deletes directory previously created by virtio_9p_create_local_test_dir(). + */ +void virtio_9p_remove_local_test_dir(void); + +/** * Prepares QEMU command line for 9pfs tests using the 'local' fs driver. */ void virtio_9p_assign_local_driver(GString *cmd_line, const char *args); |