Received: from eggs.gnu.org ([2001:4830:134:3::10]:44004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1Ym2-0002fX-Aj for qemu-devel@nongnu.org; Tue, 23 Jul 2013 05:20:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1Yly-0004Wz-0j for qemu-devel@nongnu.org; Tue, 23 Jul 2013 05:20:49 -0400 Received: from [2001:250:208:1181:6e92:bfff:fe00:bcdb] (port=59207 helo=mail.cs2c.com.cn) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1Ylx-0004WX-Lh for qemu-devel@nongnu.org; Tue, 23 Jul 2013 05:20:45 -0400 Content-Type: text/plain; charset=GB2312 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) From: yinyin In-Reply-To: <20130723085146.GA2695@stefanha-thinkpad.redhat.com> Date: Tue, 23 Jul 2013 17:19:41 +0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <25C84044-9F40-4076-BDAB-03363073B671@cs2c.com.cn> <20130723085146.GA2695@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/3] dataplane: virtio-blk live migration with x-data-plane=on List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org Hi, Stefan: during the migration, the source, not the destination, will = start dataplane again.... I think the process of migration with dataplane as follows: 1. migration begin to start 2. the migration source stop the dataplane 3. do migration ... 4. migration completed, the destination start the dataplane. when migration start, the source dataplane should already stopped, and = not start again, if there is no cancel or abort. But the trace show that, in step 3 above, the source dataplane will be = start by virtio_blk_handle_output. I'm afraid of some inconsistent will = happen there.Is it right? There is no crash found, I just use this trace to understand the flow of = dataplane migration.=20 Yin Yin yin.yin@cs2c.com.cn =20 =D4=DA 2013-7-23=A3=AC=CF=C2=CE=E74:51=A3=ACStefan Hajnoczi = =D0=B4=B5=C0=A3=BA > On Fri, Jul 19, 2013 at 01:33:12PM +0800, yinyin wrote: >> I use systemtap to test this patch,the migration will success. = But I found the dataplane will start again after migration start. the = virtio_blk_handle_output will start dataplane. >=20 > Hi Yin Yin, > Thank you for testing the patch. It is not clear to me whether you > encountered a problem or not. >=20 > It is expected that the destination will start the dataplane thread. > Was there a crash or some reason why you posted these traces? >=20 > Stefan >=20