[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 1/2] docs: formatdomain: Add examples for nbd source



Peter, could you please review and merge this patch first?
It is actually independent from the 2/2 rejected patch.

On Wed, Sep 16, 2020 at 1:49 PM Han Han <hhan redhat com> wrote:
Signed-off-by: Han Han <hhan redhat com>
---
 docs/formatdomain.rst | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 18e237c157..49713a12d4 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -2409,6 +2409,27 @@ paravirtualized driver is specified via the ``disk`` element.
        </source>
        <target dev='vde' bus='virtio'/>
      </disk>
+     <disk type='network' device='disk'>
+       <driver name='qemu' type='raw'/>
+       <source protocol='nbd' tls='yes'>
+         <host name='example.com' port='10809'/>
+       </source>
+       <target dev='vdf' bus='virtio'/>
+     </disk>
+     <disk type='network' device='disk'>
+       <driver name='qemu' type='raw'/>
+       <source protocol='nbd' name='bar' tls='no'>
+         <host name='example.com' port='10810'/>
+       </source>
+       <target dev='vdg' bus='virtio'/>
+     </disk>
+     <disk type='network' device='disk'>
+       <driver name='qemu' type='raw'/>
+       <source protocol='nbd' name='bar'>
+         <host transport='unix' socket='/var/run/nbdsock'/>
+       </source>
+       <target dev='vdh' bus='virtio'/>
+     </disk>
    </devices>
    ...

--
2.28.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]