aboutsummaryrefslogtreecommitdiff
path: root/include/migration/migration.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-03-14 13:48:42 +0100
committerJuan Quintela <quintela@redhat.com>2017-04-21 12:25:37 +0200
commit68a098f38652ad7f4883de7beeba0c3dae9b2a0b (patch)
tree450b35265c9380f7d047c5bccb79b9fcb75a3daf /include/migration/migration.h
parent9edabd4de6babf36f110c99a05b1558834535ec8 (diff)
ram: Move last_req_rb to RAMState
It was on MigrationState when it is only used inside ram.c for postcopy. Problem is that we need to access it without being able to pass it RAMState directly. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include/migration/migration.h')
-rw-r--r--include/migration/migration.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 87d0cc51e9..0f7557383b 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -189,8 +189,6 @@ struct MigrationState
/* Queue of outstanding page requests from the destination */
QemuMutex src_page_req_mutex;
QSIMPLEQ_HEAD(src_page_requests, MigrationSrcPageRequest) src_page_requests;
- /* The RAMBlock used in the last src_page_request */
- RAMBlock *last_req_rb;
/* The semaphore is used to notify COLO thread that failover is finished */
QemuSemaphore colo_exit_sem;