diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-08-19 10:18:39 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-08-19 08:44:37 -0500 |
commit | e447b1a603091cbaa5eed36c0a3c9ed3f2224535 (patch) | |
tree | 82edc428662662cc0bac507848f75bb9a4599f95 /softmmu_defs.h | |
parent | 027c9e21e21bbe63f74ffb86381bb11315a1544c (diff) |
set proper migration status on ->write error (v5)
If ->write fails, declare migration status as MIG_STATE_ERROR.
Also, in buffered_file.c, ->close the object in case of an
error.
Fixes "migrate -d "exec:dd of=file", where dd fails to open file.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'softmmu_defs.h')
0 files changed, 0 insertions, 0 deletions