[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/13] Protect migration_bitmap_sync() with the raml
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 02/13] Protect migration_bitmap_sync() with the ramlist lock |
Date: |
Thu, 17 Jan 2013 14:39:22 +0100 |
From: Paolo Bonzini <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Reviewed-by: Eric Blake <address@hidden>
---
arch_init.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 8c833b6..dada6de 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -658,9 +658,8 @@ static int ram_save_iterate(QEMUFile *f, void *opaque)
static int ram_save_complete(QEMUFile *f, void *opaque)
{
- migration_bitmap_sync();
-
qemu_mutex_lock_ramlist();
+ migration_bitmap_sync();
/* try transferring iterative blocks of memory */
--
1.8.1
- [Qemu-devel] [PULL 00/13] thread queue, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 01/13] Unlock ramlist lock also in error case, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 03/13] use XFER_LIMIT_RATIO consistently, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 04/13] migration: make function static, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 02/13] Protect migration_bitmap_sync() with the ramlist lock,
Juan Quintela <=
- [Qemu-devel] [PATCH 06/13] migration: fix off-by-one in buffered_rate_limit, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 05/13] migration: remove double call to migrate_fd_close, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 07/13] qemu-file: Only set last_error if it is not already set, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 08/13] migration: move beginning stage to the migration thread, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 09/13] migration: Add buffered_flush error handling, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 10/13] migration: move exit condition to migration thread, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 11/13] migration: unfold rest of migrate_fd_put_ready() into thread, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 12/13] migration: Only go to the iterate stage if there is anything to send, Juan Quintela, 2013/01/17
- [Qemu-devel] [PATCH 13/13] migration: remove argument to qemu_savevm_state_cancel, Juan Quintela, 2013/01/17
- Re: [Qemu-devel] [PULL 00/13] thread queue, Anthony Liguori, 2013/01/17