[libvirt] [PATCH] docs: Describe new 'append' attribute for chardevs source

Dmitry Mishin dim at virtuozzo.com
Thu Dec 24 16:40:26 UTC 2015


Signed-off-by: Dmitry Mishin <dim at virtuozzo.com>
---
 docs/formatdomain.html.in | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index a8bd48e..9bbd548 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -5227,7 +5227,7 @@ qemu-kvm -net nic,model=? /dev/null
       <target port='0'/>
     </serial>
     <serial type='file'>
-      <source path='/tmp/file'>
+      <source path='/tmp/file' append='on'>
         <seclabel model='dac' relabel='no'/>
       </source>
       <target port='0'/>
@@ -5264,6 +5264,14 @@ qemu-kvm -net nic,model=? /dev/null
     </p>
 
     <p>
+      If the interface presented to host is <code>file</code>, 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
+      <code>on</code> and <code>off</code> (default).
+    </p>
+
+    <p>
       Each character device element has an optional
       sub-element <code><address></code> which can tie the
       device to a
-- 
1.8.3.1




More information about the libvir-list mailing list