summaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-05-03 16:00:22 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2010-05-03 16:00:22 -0300
commitc015d83dd73765c6ce5964e5f60714b583abb7a3 (patch)
treed1d94ee7958b89c99d24955a26643e8c33e0e986 /qemu-options.hx
parent4374df92c2ad0c0efbbe79e5ca26f34769fabd57 (diff)
parentcb4e5f8ed1b648c451491b10dc92b1af1e324535 (diff)
Merge commit 'cb4e5f8ed1b648c451491b10dc92b1af1e324535' into upstream-merge
* commit 'cb4e5f8ed1b648c451491b10dc92b1af1e324535': (25 commits) block: read-only: open cdrom as read-only when using monitor's change command fix whitespace bogon in some versions of make Changes to usb-linux to conform to coding style Add KVM CFLAGS to vhost build QMP: Introduce RESUME event virtio-9p: Create a syntactic shortcut for the file-system pass-thru virtio-9p: Add P9_TFLUSH support virtio-9p: Add P9_TREMOVE support. virtio-9p: Add P9_TWSTAT support virtio-9p: Add P9_TCREATE support virtio-9p: Add P9_TWRITE support virtio-9p: Add P9_TCLUNK support virtio-9p: Add P9_TREAD support virtio-9p: Add P9_TOPEN support. virtio-9p: Add P9_TWALK support virtio-9p: Add P9_TSTAT support virtio-9p: Add P9_TATTACH support. virtio-9p: Add P9_TVERSION support virtio-9p: Add sg helper functions virtio-9p: Add stat and mode related helper functions. ... Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx35
1 files changed, 35 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index de8e8ad18..7be41e920 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -513,6 +513,41 @@ Create a file-system-"device" for local-filesystem.
ETEXI
#endif
+#ifdef CONFIG_LINUX
+DEFHEADING(Virtual File system pass-through options:)
+
+DEF("virtfs", HAS_ARG, QEMU_OPTION_virtfs,
+ "-virtfs local,path=path,mount_tag=tag\n",
+ QEMU_ARCH_ALL)
+
+STEXI
+
+The general form of a Virtual File system pass-through option is:
+@table @option
+
+@item -virtfs @var{fstype} [,@var{options}]
+@findex -virtfs
+Fstype is one of:
+@option{local},
+The specific Fstype will determine the applicable options.
+
+Options to each backend are described below.
+
+@item -virtfs local ,path=@var{path} ,mount_tag=@var{mount_tag}
+
+Create a Virtual file-system-pass through for local-filesystem.
+
+@option{local} is only available on Linux.
+
+@option{path} specifies the path to be exported. @option{path} is required.
+
+@option{mount_tag} specifies the tag with which the exported file is mounted.
+@option{mount_tag} is required.
+
+@end table
+ETEXI
+#endif
+
DEFHEADING()
DEF("name", HAS_ARG, QEMU_OPTION_name,