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