]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Describe new 'append' attribute for chardevs source
authorDmitry Mishin <dim@virtuozzo.com>
Thu, 24 Dec 2015 16:40:26 +0000 (19:40 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 5 Jan 2016 12:59:17 +0000 (07:59 -0500)
Signed-off-by: Dmitry Mishin <dim@virtuozzo.com>
docs/formatdomain.html.in

index a8bd48e97129f1757eec9ed737128d2b1c18e46a..ce46f061d8678c332514f715bab8c02e5b0da670 100644 (file)
@@ -5227,7 +5227,7 @@ qemu-kvm -net nic,model=? /dev/null
       &lt;target port='0'/&gt;
     &lt;/serial&gt;
     &lt;serial type='file'&gt;
-      &lt;source path='/tmp/file'&gt;
+      &lt;source path='/tmp/file' append='on'&gt;
         &lt;seclabel model='dac' relabel='no'/&gt;
       &lt;/source&gt;
       &lt;target port='0'/&gt;
@@ -5263,6 +5263,14 @@ qemu-kvm -net nic,model=? /dev/null
         the per-domain setting</a>.
     </p>
 
+    <p>
+      If the interface <code>type</code> presented to the host is "file",
+      then the <code>source</code> element may contain an optional attribute
+      <code>append</code> that specifies whether or not the information in
+      the file should be preserved on domain restart. Allowed values are
+      "on" and "off" (default). <span class="since">Since 1.3.1</span>.
+    </p>
+
     <p>
       Each character device element has an optional
       sub-element <code>&lt;address&gt;</code> which can tie the