]> Git Repo - qemu.git/commit
set proper migration status on ->write error (v5)
authorMarcelo Tosatti <[email protected]>
Thu, 19 Aug 2010 13:18:39 +0000 (10:18 -0300)
committerAnthony Liguori <[email protected]>
Thu, 19 Aug 2010 13:44:37 +0000 (08:44 -0500)
commite447b1a603091cbaa5eed36c0a3c9ed3f2224535
tree82edc428662662cc0bac507848f75bb9a4599f95
parent027c9e21e21bbe63f74ffb86381bb11315a1544c
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 <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
buffered_file.c
migration.c
This page took 0.024591 seconds and 4 git commands to generate.