From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQTxe-00036n-Nd for qemu-devel@nongnu.org; Fri, 22 Jul 2016 02:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQTxa-00055F-HO for qemu-devel@nongnu.org; Fri, 22 Jul 2016 02:29:25 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:23281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQTxX-000516-0e for qemu-devel@nongnu.org; Fri, 22 Jul 2016 02:29:22 -0400 References: <1469077560-20620-1-git-send-email-zhang.zhanghailiang@huawei.com> <20160721121914.GG13528@redhat.com> From: Hailiang Zhang Message-ID: <5791BD1F.6040506@huawei.com> Date: Fri, 22 Jul 2016 14:28:47 +0800 MIME-Version: 1.0 In-Reply-To: <20160721121914.GG13528@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 0/2] Migration: support working on file:url List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: peter.huangpeng@huawei.com, qemu-devel@nongnu.org, amit.shah@redhat.com, dgilbert@redhat.com, quintela@redhat.com On 2016/7/21 20:19, Daniel P. Berrange wrote: > On Thu, Jul 21, 2016 at 01:05:58PM +0800, zhanghailiang wrote: >> It is more simple to use file:url to migrate VM into file. >> Besides, it will be used in memory snapshot. > > NB, you can already migrate into a file > > "exec:/bin/cat > /path/to/file" > > and likewise > > qemu -incoming "exec:/bin/cat /path/to/file" > > This avoids the problem with POSIX I/O on plain files not actually > supporting O_NONBLOCK in any sensible manner, which your file: > suggestion suffers from. > OK, got it, please ignore this series. Thanks. > Regards, > Daniel >