qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH -V3 26/32] virtio-9p: Create a commandline option -f


From: Aneesh Kumar K.V
Subject: [Qemu-devel] [PATCH -V3 26/32] virtio-9p: Create a commandline option -fsdev
Date: Thu, 25 Mar 2010 22:13:34 +0530

From: Gautham R Shenoy <address@hidden>

This patch creates a new command line option named -fsdev to hold any file
system specific information.

The option will currently hold the following attributes:

-fsdev fstype id=id,path=path_to_share

The only option for fstype currently is local.

Signed-off-by: Gautham R Shenoy <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>
---
 qemu-options.hx |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index 8450b45..71a6fda 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -469,6 +469,37 @@ To get a help on possible @var{driver}s, @var{option}s or 
@var{value}s, use
 @code{-device @var{driver},@var{option}=?}. 
 ETEXI
 
+DEFHEADING(File system options:)
+
+DEF("fsdev", HAS_ARG, QEMU_OPTION_fsdev,
+    "-fsdev local,id=id,path=path\n")
+
+STEXI
+
+The general form of a File system device option is:
address@hidden @option
+
address@hidden -fsdev @var{fstype} ,address@hidden [,@var{options}]
address@hidden -fsdev
+Fstype is one of:
address@hidden,
+The specific Fstype will determine the applicable options.
+
+Options to each backend are described below.
+
address@hidden -fsdev local ,address@hidden ,address@hidden
+
+Create a file-system-"device" for local-filesystem.
+
address@hidden is only available on Linux.
+
address@hidden specifies the path to be exported. @option{path} is required.
+
address@hidden table
+ETEXI
+
+DEFHEADING()
+
 DEF("name", HAS_ARG, QEMU_OPTION_name,
     "-name string1[,process=string2]\n"
     "                set the name of the guest\n"
-- 
1.7.0.2.323.g0d092





reply via email to

[Prev in Thread] Current Thread [Next in Thread]