[Qemu-devel] Re: [PATCH] set proper migration status on -write error (v5)

2010-07-15 Thread Marcelo Tosatti
On Wed, Jul 14, 2010 at 01:39:46PM -0300, Luiz Capitulino wrote: On Tue, 13 Jul 2010 21:01:33 -0300 Marcelo Tosatti mtosa...@redhat.com wrote: If -write fails, declare migration status as MIG_STATE_ERROR. Also, in buffered_file.c, -close the object in case of an error. Fixes

[Qemu-devel] Re: [PATCH] set proper migration status on -write error (v5)

2010-07-14 Thread Luiz Capitulino
On Tue, 13 Jul 2010 21:01:33 -0300 Marcelo Tosatti mtosa...@redhat.com wrote: 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: