δΊ 2013/12/3 21:45, Stefan Hajnoczi ει:
On Fri, Nov 22, 2013 at 12:27:09PM +0800, Wenchao Xia wrote:
+nbd_snapshot_port=10850
+nbd_snapshot_img=nbd:127.0.0.1:$nbd_snapshot_port
+
+_export_nbd_snapshot()
+{
+$QEMU_NBD -v -t -b 127.0.0.1 -p $nbd_snapshot_port $TEST_IMG -l $1
Please use a
This case can't run when IMGPROTO=nbd, since it needs to create some
internal snapshot which would fail for EOF write request, even when
TEST_IMG is exported with -f raw in common.rc, so set _supported_proto
to file.
_require_command() is changed to tip what util is missing, instead
of printing a