Migration: added file:// migration protocol
commitf108b1d6e588dc2e2addb85ccfeec19921a2666e
authorUri Lublin <uril@qumranet.com>
Thu, 21 Feb 2008 13:00:50 +0000 (21 15:00 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 21 Feb 2008 13:21:01 +0000 (21 15:21 +0200)
tree64e6cb4c7faecd6fddce85e91185984c10314a4e
parentab220533e76bbdd56b7c09679dc7a5b565c2705a
Migration: added file:// migration protocol

Instead of writing into a file with fork+exec, just open the file and
write the data. This solves a bug that sometimes not all the data was
kept in the state-file.

Signed-off-by: Uri Lublin <uril@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
migration.c