于 2012-7-3 19:55, Paolo Bonzini 写道:
Il 03/07/2012 13:05, xiaw...@linux.vnet.ibm.com ha scritto:
+
+  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

We could actually make persistent the default unless we're using
qemu-nbd in client mode (i.e. exporting to /dev/nbd*), and drop the
option.  What do you think?

Paolo

Hi Paolo, should I make a patch to make persistent the default for
qemu-nbd?



--
Best Regards

Wayne Xia
mail:xiaw...@linux.vnet.ibm.com
tel:86-010-82450803


Reply via email to