Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx> --- docs/formatdomain.html.in | 9 +++++++++ docs/schemas/domaincommon.rng | 15 ++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index e5b1adb..938409b 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -2309,6 +2309,10 @@ <target dir='/import/from/host'/> <readonly/> </filesystem> + <filesystem type='mtp'> + <source dir='/export/to/guest'/> + <target name='my-vm-template'/> + </filesystem> ... </devices> ...</pre> @@ -2367,6 +2371,11 @@ A directory inside the guest will be bound to another directory inside the guest. Only used by LXC driver <span class="since"> (since 0.9.13)</span></dd> + <dt><code>type='mtp'</code></dt> + <dd> + A host directory will be exposed to the guest as a MTP + device. Only used by QEMU/KVM driver + <span class="since"> (since 1.2.8)</span></dd> </dl> The filesystem block has an optional attribute <code>accessmode</code> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 11f0fd0..dd870ef 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -1899,9 +1899,18 @@ </choice> <interleave> <element name="target"> - <attribute name="dir"> - <ref name="absDirPath"/> - </attribute> + <choice> + <group> + <attribute name="dir"> + <ref name="absDirPath"/> + </attribute> + </group> + <group> + <attribute name="name"> + <ref name="genericName"/> + </attribute> + </group> + </choice> <empty/> </element> <optional> -- 1.9.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list