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

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

 



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@xxxxxxxxxx> wrote:
Signed-off-by: Han Han <hhan@xxxxxxxxxx>
---
 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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux