qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 27/28] migration: If there is one error, it makes no


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 27/28] migration: If there is one error, it makes no sense to continue
Date: Wed, 23 Feb 2011 22:47:36 +0100

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 8435a31..3c917ff 100644
--- a/buffered_file.c
+++ b/buffered_file.c
@@ -195,7 +195,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.4




reply via email to

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