qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 6/7] migration: If there is one error, it makes no s


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 6/7] migration: If there is one error, it makes no sense to continue
Date: Tue, 20 Sep 2011 15:24:45 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 buffered_file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/buffered_file.c b/buffered_file.c
index 5ba3d19..10d14f9 100644
--- a/buffered_file.c
+++ b/buffered_file.c
@@ -197,7 +197,7 @@ static int buffered_rate_limit(void *opaque)
     QEMUFileBuffered *s = opaque;

     if (s->has_error)
-        return 0;
+        return -1;

     if (s->freeze_output)
         return 1;
-- 
1.7.6.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]