]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-config.c
virtio-9p: Create a syntactic shortcut for the file-system pass-thru
[mirror_qemu.git] / qemu-config.c
index cda5060e5fc20239416c5cfdfe6700d52e0728bd..d5008851cb26c11d7ccd0fff86c88f01a2b6d97f 100644 (file)
@@ -169,6 +169,28 @@ QemuOptsList qemu_fsdev_opts = {
 };
 #endif
 
+#ifdef CONFIG_LINUX
+QemuOptsList qemu_virtfs_opts = {
+    .name = "virtfs",
+    .implied_opt_name = "fstype",
+    .head = QTAILQ_HEAD_INITIALIZER(qemu_virtfs_opts.head),
+    .desc = {
+        {
+            .name = "fstype",
+            .type = QEMU_OPT_STRING,
+        }, {
+            .name = "path",
+            .type = QEMU_OPT_STRING,
+        }, {
+            .name = "mount_tag",
+            .type = QEMU_OPT_STRING,
+        },
+
+        { /*End of list */ }
+    },
+};
+#endif
+
 QemuOptsList qemu_device_opts = {
     .name = "device",
     .implied_opt_name = "driver",