All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] add text about how to use qemu-nbd with qemu
@ 2012-07-03 11:05 xiawenc
  2012-07-03 11:55 ` Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: xiawenc @ 2012-07-03 11:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, stefanha, anthony, Wenchao Xia

From: Wenchao Xia <xiawenc@linux.vnet.ibm.com>

  Qemu system emulator reports only fails that make people confused
about why, when it is invoked with nbd block device tring to connect
qemu-nbd server. In fact qemu will try connect server for several
times but server only accept one connect by default.
  I paid some times to find out why it fails. This patch add special
text to explain how to use it in such case.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
---
 qemu-nbd.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/qemu-nbd.texi b/qemu-nbd.texi
index 6955d90..014040a 100644
--- a/qemu-nbd.texi
+++ b/qemu-nbd.texi
@@ -44,6 +44,12 @@ Export QEMU disk image using NBD protocol.
   display this help and exit
 @item -V, --version
   output version information and exit
+
+  Note: When qemu-nbd was used to export a disk that would be used by QEMU
+block device, -t or --persistent must be set for that QEMU nbd client would try
+connect more than one time. For eg:
+  qemu-nbd ./simple.img -p 10809 -t
+  qemu -hdb nbd:127.0.0.1:10809
 @end table
 
 @c man end
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-07-09  7:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-03 11:05 [Qemu-devel] [PATCH] add text about how to use qemu-nbd with qemu xiawenc
2012-07-03 11:55 ` Paolo Bonzini
2012-07-04  2:21   ` Wayne Xia
2012-07-05  3:29   ` Wayne Xia
2012-07-05  6:42     ` Paolo Bonzini
2012-07-05  8:13       ` Michael Tokarev
2012-07-05  8:34         ` Paolo Bonzini
2012-07-06  8:01           ` Wayne Xia
2012-07-09  7:11             ` Wayne Xia
2012-07-09  7:15               ` Paolo Bonzini
2012-07-03 16:18 ` 陳韋任 (Wei-Ren Chen)
2012-07-04  2:26   ` Wayne Xia
2012-07-03 19:45 ` Michael Tokarev
2012-07-04  2:14   ` Wayne Xia
2012-07-04  7:35     ` Paolo Bonzini
2012-07-04  9:56   ` Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.