[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 03/14] use XFER_LIMIT_RATIO consistently
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 03/14] use XFER_LIMIT_RATIO consistently |
Date: |
Tue, 15 Jan 2013 12:18:11 +0100 |
From: Paolo Bonzini <address@hidden>
Previous patch missed this case
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
migration.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration.c b/migration.c
index c69e864..d6ec3e8 100644
--- a/migration.c
+++ b/migration.c
@@ -650,7 +650,7 @@ static int64_t buffered_set_rate_limit(void *opaque,
int64_t new_rate)
new_rate = SIZE_MAX;
}
- s->xfer_limit = new_rate / 10;
+ s->xfer_limit = new_rate / XFER_LIMIT_RATIO;
out:
return s->xfer_limit;
--
1.8.1
- [Qemu-devel] [PATCH 00/14] migration queue, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 01/14] Unlock ramlist lock also in error case, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 02/14] Protect migration_bitmap_sync() with the ramlist lock, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 03/14] use XFER_LIMIT_RATIO consistently,
Juan Quintela <=
- [Qemu-devel] [PATCH 04/14] migration: make function static, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 05/14] migration: remove double call to migrate_fd_close, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 07/14] qemu-file: Only set last_error if it is not already set, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 06/14] migration: fix off-by-one in buffered_rate_limit, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 09/14] migration: Add buffered_flush error handling, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 08/14] migration: move begining stage to the migration thread, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 10/14] migration: move exit condition to migration thread, Juan Quintela, 2013/01/15
- [Qemu-devel] [PATCH 12/14] migration: Only go to the iterate stage if there is anything to send, Juan Quintela, 2013/01/15