[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 14/28] memory: use bit 2 for migration
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 14/28] memory: use bit 2 for migration |
Date: |
Wed, 9 Oct 2013 13:28:36 +0200 |
For historical reasons it was bit 3. One there create a constant to
know the number of clients.
Signed-off-by: Juan Quintela <address@hidden>
---
include/exec/memory.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 4bb20d0..a28c6bd 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -35,7 +35,8 @@ typedef struct MemoryRegionMmio MemoryRegionMmio;
#define DIRTY_MEMORY_VGA 0
#define DIRTY_MEMORY_CODE 1
-#define DIRTY_MEMORY_MIGRATION 3
+#define DIRTY_MEMORY_MIGRATION 2
+#define DIRTY_MEMORY_NUM 3 /* num of dirty bits */
struct MemoryRegionMmio {
CPUReadMemoryFunc *read[3];
--
1.8.3.1
- [Qemu-devel] [PATCH 08/28] exec: simplify notdirty_mem_write(), (continued)
- [Qemu-devel] [PATCH 08/28] exec: simplify notdirty_mem_write(), Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 10/28] memory: set single dirty flags when possible, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 09/28] memory: all users of cpu_physical_memory_get_dirty used only one flag, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 11/28] memory: cpu_physical_memory_set_dirty_range() allways dirty all flags, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 13/28] memory: use DIRTY_MEMORY_* instead of *_DIRTY_FLAG, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 12/28] memory: cpu_physical_memory_mask_dirty_range() allways clear a single flag, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 14/28] memory: use bit 2 for migration,
Juan Quintela <=
- [Qemu-devel] [PATCH 15/28] memory: make sure that client is always inside range, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 16/28] memory: only resize dirty bitmap when memory size increases, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 17/28] memory: cpu_physical_memory_clear_dirty_flag() result is never used, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 18/28] bitmap: Add bitmap_zero_extend operation, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 19/28] memory: split dirty bitmap into three, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 20/28] memory: unfold cpu_physical_memory_clear_dirty_flag() in its only user, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 21/28] memory: unfold cpu_physical_memory_set_dirty() in its only user, Juan Quintela, 2013/10/09
- [Qemu-devel] [PATCH 23/28] memory: make cpu_physical_memory_get_dirty() the main function, Juan Quintela, 2013/10/09