[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 14/39] memory: use bit 2 for migration
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 14/39] memory: use bit 2 for migration |
Date: |
Wed, 6 Nov 2013 14:04:23 +0100 |
For historical reasons it was bit 3. Once 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 04b5071..4bf7cd0 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
- Re: [Qemu-devel] [PATCH 05/39] memory: create function to set a single dirty bit, (continued)
- [Qemu-devel] [PATCH 07/39] memory: make cpu_physical_memory_is_dirty return bool, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 10/39] memory: set single dirty flags when possible, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 11/39] memory: cpu_physical_memory_set_dirty_range() allways dirty all flags, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 09/39] memory: all users of cpu_physical_memory_get_dirty used only one flag, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 12/39] memory: cpu_physical_memory_mask_dirty_range() always clear a single flag, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 13/39] memory: use DIRTY_MEMORY_* instead of *_DIRTY_FLAG, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 14/39] memory: use bit 2 for migration,
Juan Quintela <=
- [Qemu-devel] [PATCH 15/39] memory: make sure that client is always inside range, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 16/39] memory: only resize dirty bitmap when memory size increases, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 17/39] memory: cpu_physical_memory_clear_dirty_flag() result is never used, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 18/39] bitmap: Add bitmap_zero_extend operation, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 19/39] memory: split dirty bitmap into three, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 20/39] memory: unfold cpu_physical_memory_clear_dirty_flag() in its only user, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 21/39] memory: unfold cpu_physical_memory_set_dirty() in its only user, Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 22/39] memory: unfold cpu_physical_memory_set_dirty_flag(), Juan Quintela, 2013/11/06
- [Qemu-devel] [PATCH 23/39] memory: make cpu_physical_memory_get_dirty() the main function, Juan Quintela, 2013/11/06