[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 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 "m

[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 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: Marcelo

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

2010-07-13 Thread Luiz Capitulino
On Tue, 13 Jul 2010 14:30:22 -0300 Marcelo Tosatti 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: Marcelo

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

2010-07-12 Thread Luiz Capitulino
On Fri, 9 Jul 2010 15:18:51 -0300 Marcelo Tosatti 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: Marcel

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

2010-07-07 Thread Juan Quintela
Marcelo Tosatti 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: Marcelo Tosatti Acked-by: Juan Quintela Again

[Qemu-devel] Re: [PATCH] set proper migration status on ->write error

2010-07-07 Thread Juan Quintela
Marcelo Tosatti 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: Marcelo Tosatti Acked-by: Juan Quintela > d