aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-20 14:16:17 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-21 13:43:47 +0100
commitf8b08d0e961c7e10d87ee011ec7bf1f8fe7b1fbb (patch)
tree3bf9e5da56ca36369b8cdd48939ae285bd6e444d /docs
parentMake virSecurityDeviceLabelDefParseXML into generic device <seclabel> parser. (diff)
downloadlibvirt-f8b08d0e961c7e10d87ee011ec7bf1f8fe7b1fbb.tar.gz
libvirt-f8b08d0e961c7e10d87ee011ec7bf1f8fe7b1fbb.tar.bz2
libvirt-f8b08d0e961c7e10d87ee011ec7bf1f8fe7b1fbb.zip
Add <seclabel> to character devices.
This allows the user to control labelling of each character device separately (the default is to inherit from the VM). Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/formatdomain.html.in8
-rw-r--r--docs/schemas/domaincommon.rng3
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 04de870a0..bc4cc4a2a 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -3445,6 +3445,14 @@ qemu-kvm -net nic,model=? /dev/null
</p>
<p>
+ The <code>source</code> element may contain an optional
+ <code>seclabel</code> to override the way that labelling
+ is done on the socket path. If this element is not present,
+ the <a href="#seclabel">security label is inherited from
+ the per-domain setting</a>.
+ </p>
+
+ <p>
Each character device element has an optional
sub-element <code>&lt;address&gt;</code> which can tie the
device to a
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 75afac2e1..f47fdadd6 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -2454,6 +2454,9 @@
<optional>
<attribute name="wiremode"/>
</optional>
+ <optional>
+ <ref name='devSeclabel'/>
+ </optional>
</element>
</zeroOrMore>
<optional>