[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 3/9] migration: remove useless code
From: |
Liang Li |
Subject: |
[Qemu-devel] [PATCH v2 3/9] migration: remove useless code |
Date: |
Thu, 5 May 2016 15:32:53 +0800 |
page_buffer is set twice repeatedly, remove the previous set.
Signed-off-by: Liang Li <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
---
migration/ram.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/migration/ram.c b/migration/ram.c
index 8a59a08..5d544c0 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -2356,7 +2356,6 @@ static int ram_load_postcopy(QEMUFile *f)
ret = -EINVAL;
break;
}
- page_buffer = host;
/*
* Postcopy requires that we place whole host pages atomically.
* To make it atomic, the data is read into a temporary page
--
1.9.1
- [Qemu-devel] [PATCH v2 0/9] live migration bug fix and refine, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 1/9] migration: Fix multi-thread compression bug, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 2/9] migration: Fix a potential issue, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 3/9] migration: remove useless code,
Liang Li <=
- [Qemu-devel] [PATCH v2 6/9] migration: protect the quit flag by lock, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 7/9] migration: refine the compression code, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 4/9] qemu-file: Fix qemu_put_compression_data flaw, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 8/9] migration: refine the decompression code, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 5/9] migration: refine ram_save_compressed_page, Liang Li, 2016/05/05
- [Qemu-devel] [PATCH v2 9/9] migration: code clean up, Liang Li, 2016/05/05
- Re: [Qemu-devel] [PATCH v2 0/9] live migration bug fix and refine, Amit Shah, 2016/05/23