* 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 > /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.

Hmm that's a shame; I liked this idea as a nice simplification of the
exec: stuff.

Dave

> Regards,
> Daniel
> -- 
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-             http://virt-manager.org :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK

Reply via email to