From: Harsh Prateek Bora Date: Tue, 11 Oct 2011 11:30:40 +0000 (+0530) Subject: Introduce under to support open-by-handle X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=da8127e6b383f9ba555209319849ab0581130c97;p=libvirt.git Introduce under to support open-by-handle VirtFS allows the user to choose between path/handle based fs driver. As of now, libvirt hardcoded path based driver only. This patch provides a solution to allow user to choose between path/handle based fs driver. Sample: Signed-off-by: Harsh Prateek Bora Signed-off-by: Eric Blake --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 8daffb80d6..c007dff848 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1156,6 +1156,7 @@ <target dir='/'/> </filesystem> <filesystem type='mount' accessmode='passthrough'> + <driver type='path'/> <source dir='/export/to/guest'/> <target dir='/import/from/host'/> <readonly/> @@ -1178,6 +1179,11 @@ OpenVZ (since 0.6.2) and QEMU/KVM (since 0.8.5). This is the default type if one is not specified. + This mode also has an optional + sub-element driver, with an + attribute type='path' + or type='handle' (since + 0.9.7).
type='template'
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 492a41dee2..c75ea3776e 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -995,9 +995,12 @@ - - mount - + + + + mount + + @@ -1005,6 +1008,17 @@ + + + + + path + handle + + + + + @@ -1024,7 +1038,6 @@ - passthrough @@ -1036,12 +1049,17 @@ - - - - - - + + + + + + + + + + +