From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ6CY-0004FH-C8 for qemu-devel@nongnu.org; Thu, 21 Jul 2016 01:07:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQ6CV-00016T-5K for qemu-devel@nongnu.org; Thu, 21 Jul 2016 01:07:14 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:56280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ6CU-00012a-HQ for qemu-devel@nongnu.org; Thu, 21 Jul 2016 01:07:11 -0400 From: zhanghailiang Date: Thu, 21 Jul 2016 13:05:58 +0800 Message-ID: <1469077560-20620-1-git-send-email-zhang.zhanghailiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [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: qemu-devel@nongnu.org Cc: amit.shah@redhat.com, quintela@redhat.com, dgilbert@redhat.com, peter.huangpeng@huawei.com, zhanghailiang It is more simple to use file:url to migrate VM into file. Besides, it will be used in memory snapshot. Test: 1) migrate VM state into file: migrate file:url 2) Restore VM from the file: qemu-system-x86_64 xxx --incoming file:url zhanghailiang (2): migration: Allow the migrate command to work on file:urls migration: Allow -incoming to work on file: urls include/migration/migration.h | 4 +++ migration/fd.c | 71 +++++++++++++++++++++++++++++++++++-------- migration/migration.c | 4 +++ migration/trace-events | 2 ++ 4 files changed, 69 insertions(+), 12 deletions(-) -- 1.8.3.1