Re: [PATCH 4/4] migration: Make sure that we don't call write() in case of error

2019-12-18 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > If we are exiting due to an error/finish/ Just don't try to even > touch the channel with one IO operation. > > Signed-off-by: Juan Quintela > --- > migration/ram.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/m

[PATCH 4/4] migration: Make sure that we don't call write() in case of error

2019-12-17 Thread Juan Quintela
If we are exiting due to an error/finish/ Just don't try to even touch the channel with one IO operation. Signed-off-by: Juan Quintela --- migration/ram.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/migration/ram.c b/migration/ram.c index 4b44578e57..909ef6d237 1