From 7c63736603640ca7b74b65d71afc54fd0a3492f9 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 21 Dec 2011 13:09:49 +0200 Subject: Store MemoryRegion in RAMBlock As a step in moving live migration from RAMBlocks to MemoryRegions, store the MemoryRegion in a RAMBlock. Reviewed-by: Anthony Liguori Signed-off-by: Avi Kivity --- cpu-all.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpu-all.h') diff --git a/cpu-all.h b/cpu-all.h index 734833abda..4acaa8bc41 100644 --- a/cpu-all.h +++ b/cpu-all.h @@ -476,6 +476,7 @@ extern ram_addr_t ram_size; #define RAM_PREALLOC_MASK (1 << 0) typedef struct RAMBlock { + struct MemoryRegion *mr; uint8_t *host; ram_addr_t offset; ram_addr_t length; -- cgit v1.2.1