Re: [Qemu-devel] [RFC PATCH 0/2] Migration: support working on file:url

2016-07-22 Thread Daniel P. Berrange
On Thu, Jul 21, 2016 at 06:41:23PM +0100, Dr. David Alan Gilbert wrote: > * Daniel P. Berrange (berra...@redhat.com) 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 sn

Re: [Qemu-devel] [RFC PATCH 0/2] Migration: support working on file:url

2016-07-21 Thread Hailiang Zhang
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

Re: [Qemu-devel] [RFC PATCH 0/2] Migration: support working on file:url

2016-07-21 Thread Dr. David Alan Gilbert
* Daniel P. Berrange (berra...@redhat.com) 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 > /p

Re: [Qemu-devel] [RFC PATCH 0/2] Migration: support working on file:url

2016-07-21 Thread Daniel P. Berrange
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 /pat

[Qemu-devel] [RFC PATCH 0/2] Migration: support working on file:url

2016-07-20 Thread 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