summary refs log tree commit diff stats
path: root/tests/qtest/libqos/virtio-9p.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/libqos/virtio-9p.h')
-rw-r--r--tests/qtest/libqos/virtio-9p.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/qtest/libqos/virtio-9p.h b/tests/qtest/libqos/virtio-9p.h
index b1e6badc4a..19a4d97454 100644
--- a/tests/qtest/libqos/virtio-9p.h
+++ b/tests/qtest/libqos/virtio-9p.h
@@ -44,4 +44,14 @@ struct QVirtio9PDevice {
     QVirtio9P v9p;
 };
 
+/**
+ * Prepares QEMU command line for 9pfs tests using the 'local' fs driver.
+ */
+void virtio_9p_assign_local_driver(GString *cmd_line, const char *args);
+
+/**
+ * Returns path on host to the passed guest path. Result must be freed.
+ */
+char *virtio_9p_test_path(const char *path);
+
 #endif