summaryrefslogtreecommitdiff
path: root/qemu-config.c
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-config.c
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-config.c')
-rw-r--r--qemu-config.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c
index 143d727ab..a8d9e06ea 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -173,6 +173,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",