ram: Move last_req_rb to RAMState
commit68a098f38652ad7f4883de7beeba0c3dae9b2a0b
authorJuan Quintela <quintela@redhat.com>
Tue, 14 Mar 2017 12:48:42 +0000 (14 13:48 +0100)
committerJuan Quintela <quintela@redhat.com>
Fri, 21 Apr 2017 10:25:37 +0000 (21 12:25 +0200)
tree450b35265c9380f7d047c5bccb79b9fcb75a3daf
parent9edabd4de6babf36f110c99a05b1558834535ec8
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>
include/migration/migration.h
migration/migration.c
migration/ram.c