diff options
Diffstat (limited to 'qemu-doc.texi')
-rw-r--r-- | qemu-doc.texi | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/qemu-doc.texi b/qemu-doc.texi index b2654c76a0..4d828a5135 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -301,9 +301,16 @@ LIBISCSI_CHAP_PASSWORD="password" \ @item NBD QEMU supports NBD (Network Block Devices) both using TCP protocol as well -as Unix Domain Sockets. +as Unix Domain Sockets. With TCP, the default port is 10809. -Syntax for specifying a NBD device using TCP +Syntax for specifying a NBD device using TCP, in preferred URI form: +``nbd://<server-ip>[:<port>]/[<export>]'' + +Syntax for specifying a NBD device using Unix Domain Sockets; remember +that '?' is a shell glob character and may need quoting: +``nbd+unix:///[<export>]?socket=<domain-socket>'' + +Older syntax that is also recognized: ``nbd:<server-ip>:<port>[:exportname=<export>]'' Syntax for specifying a NBD device using Unix Domain Sockets |