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