mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
9edabd4de6
commit
68a098f386
3 changed files with 5 additions and 5 deletions
|
@ -1126,7 +1126,6 @@ MigrationState *migrate_init(const MigrationParams *params)
|
|||
s->postcopy_after_devices = false;
|
||||
s->postcopy_requests = 0;
|
||||
s->migration_thread_running = false;
|
||||
s->last_req_rb = NULL;
|
||||
error_free(s->error);
|
||||
s->error = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue