diff options
Diffstat (limited to 'include/exec')
-rw-r--r-- | include/exec/ramblock.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/exec/ramblock.h b/include/exec/ramblock.h index 3eb7972..848915e 100644 --- a/include/exec/ramblock.h +++ b/include/exec/ramblock.h @@ -44,6 +44,19 @@ struct RAMBlock { size_t page_size; /* dirty bitmap used during migration */ unsigned long *bmap; + + /* + * Below fields are only used by mapped-ram migration + */ + /* bitmap of pages present in the migration file */ + unsigned long *file_bmap; + /* + * offset in the file pages belonging to this ramblock are saved, + * used only during migration to a file. + */ + off_t bitmap_offset; + uint64_t pages_offset; + /* bitmap of already received pages in postcopy */ unsigned long *receivedmap; |