summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-10-13 12:28:04 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-10-15 15:30:27 +0530
commitacdf25aef943cb24f7a9f5c936ceda09d6826d88 (patch)
tree6a3beaddeaba47c32c7aed691b27b742f62f23c4 /vl.c
parentac0d9da5a4d3ab1d9dd6b8cbbbb7787716f24f94 (diff)
downloadqemu-acdf25aef943cb24f7a9f5c936ceda09d6826d88.tar.gz
qemu-acdf25aef943cb24f7a9f5c936ceda09d6826d88.tar.bz2
qemu-acdf25aef943cb24f7a9f5c936ceda09d6826d88.zip
hw/9pfs: Rename fstype to fsdriver to make it consistent across VirtFS code
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vl.c b/vl.c
index b3c27f6660..9adb8039a3 100644
--- a/vl.c
+++ b/vl.c
@@ -2798,11 +2798,11 @@ int main(int argc, char **argv, char **envp)
exit(1);
}
- if (qemu_opt_get(opts, "fstype") == NULL ||
+ if (qemu_opt_get(opts, "fsdriver") == NULL ||
qemu_opt_get(opts, "mount_tag") == NULL ||
qemu_opt_get(opts, "path") == NULL ||
qemu_opt_get(opts, "security_model") == NULL) {
- fprintf(stderr, "Usage: -virtfs fstype,path=/share_path/,"
+ fprintf(stderr, "Usage: -virtfs fsdriver,path=/share_path/,"
"security_model=[mapped|passthrough|none],"
"mount_tag=tag.\n");
exit(1);
@@ -2826,7 +2826,7 @@ int main(int argc, char **argv, char **envp)
exit(1);
#endif
}
- qemu_opt_set(fsdev, "fstype", qemu_opt_get(opts, "fstype"));
+ qemu_opt_set(fsdev, "fsdriver", qemu_opt_get(opts, "fsdriver"));
qemu_opt_set(fsdev, "path", qemu_opt_get(opts, "path"));
qemu_opt_set(fsdev, "security_model",
qemu_opt_get(opts, "security_model"));