* [Qemu-devel] [PATCH 0/0] Add description on NBD URL to manpage
@ 2011-10-27 9:33 Ronnie Sahlberg
2011-10-27 9:33 ` [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax Ronnie Sahlberg
0 siblings, 1 reply; 4+ messages in thread
From: Ronnie Sahlberg @ 2011-10-27 9:33 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf
Please find a patch to add a description of the NBD URL to the manpage.
This describes both TCP and domain socket syntax.
(I could not actually test the domain syntax case since my nbd-server
crashes:-( )
regards
ronnie sahlberg
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax
2011-10-27 9:33 [Qemu-devel] [PATCH 0/0] Add description on NBD URL to manpage Ronnie Sahlberg
@ 2011-10-27 9:33 ` Ronnie Sahlberg
2011-10-27 9:41 ` Kevin Wolf
2011-10-27 14:04 ` Eric Sunshine
0 siblings, 2 replies; 4+ messages in thread
From: Ronnie Sahlberg @ 2011-10-27 9:33 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf, Ronnie Sahlberg
This patch adds a short description of how to specify a NBD device
to QEMU.
Syntax for both TCP and Unix Domain Sockets are provided as well
as examples.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
---
qemu-options.hx | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 7c434f8..564ae3f 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1757,6 +1757,27 @@ qemu --drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1
iSCSI support is an optional feature of QEMU and only available when
compiled and linked against libiscsi.
+@item NBD
+QEMU supports NBD (Network Block Devices) both using TCP protocol as well
+as Unix Domain Sockets.
+
+Syntax for specifying a NDB device using TCP
+``nbd:<server-ip>:<port>[:exportname=<export>]''
+
+Syntax for specifying a NDB device using Unix Domain Sockets
+``nbd:unix:<domain-socket>[:exportname=<export>]''
+
+
+Example for TCP
+@example
+qemu --drive file=nbd:192.0.2.1:30000
+@end example
+
+Example for Unix Domain Sockets
+@example
+qemu --drive file=nbd:unix:/tmp/nbd-socket
+@end example
+
@end table
ETEXI
--
1.7.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax
2011-10-27 9:33 ` [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax Ronnie Sahlberg
@ 2011-10-27 9:41 ` Kevin Wolf
2011-10-27 14:04 ` Eric Sunshine
1 sibling, 0 replies; 4+ messages in thread
From: Kevin Wolf @ 2011-10-27 9:41 UTC (permalink / raw)
To: Ronnie Sahlberg; +Cc: qemu-devel
Am 27.10.2011 11:33, schrieb Ronnie Sahlberg:
> This patch adds a short description of how to specify a NBD device
> to QEMU.
> Syntax for both TCP and Unix Domain Sockets are provided as well
> as examples.
>
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Thanks, applied to the block branch.
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax
2011-10-27 9:33 ` [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax Ronnie Sahlberg
2011-10-27 9:41 ` Kevin Wolf
@ 2011-10-27 14:04 ` Eric Sunshine
1 sibling, 0 replies; 4+ messages in thread
From: Eric Sunshine @ 2011-10-27 14:04 UTC (permalink / raw)
To: Ronnie Sahlberg; +Cc: kwolf, qemu-devel
On Oct 27, 2011, at 5:33 AM, Ronnie Sahlberg wrote:
> This patch adds a short description of how to specify a NBD device
> to QEMU.
> Syntax for both TCP and Unix Domain Sockets are provided as well
> as examples.
>
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
> ---
> qemu-options.hx | 21 +++++++++++++++++++++
> 1 files changed, 21 insertions(+), 0 deletions(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 7c434f8..564ae3f 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1757,6 +1757,27 @@ qemu --drive file=iscsi://192.0.2.1/iqn.
> 2001-04.com.example/1
> iSCSI support is an optional feature of QEMU and only available when
> compiled and linked against libiscsi.
>
> +@item NBD
> +QEMU supports NBD (Network Block Devices) both using TCP protocol
> as well
> +as Unix Domain Sockets.
> +
> +Syntax for specifying a NDB device using TCP
> +``nbd:<server-ip>:<port>[:exportname=<export>]''
> +
> +Syntax for specifying a NDB device using Unix Domain Sockets
> +``nbd:unix:<domain-socket>[:exportname=<export>]''
On the two "Syntax for..." lines: s/NDB/NBD/
-- ES
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-27 14:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27 9:33 [Qemu-devel] [PATCH 0/0] Add description on NBD URL to manpage Ronnie Sahlberg
2011-10-27 9:33 ` [Qemu-devel] [PATCH] Documentation: Describe NBD URL syntax Ronnie Sahlberg
2011-10-27 9:41 ` Kevin Wolf
2011-10-27 14:04 ` Eric Sunshine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).