migration: provide ram_state_init()
commit7d00ee6ad6c2dbeeb68e8d5343ec77bc5873d8f8
authorPeter Xu <peterx@redhat.com>
Thu, 19 Oct 2017 06:31:57 +0000 (19 14:31 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 23 Oct 2017 16:03:34 +0000 (23 18:03 +0200)
tree14084c3100ea5a508d9017722ba8c1c6e313f0a3
parent0331c8cabf6168aa263aa0b25f5e135b328606ac
migration: provide ram_state_init()

The old ram_state_init() is not really initializing the RAMState only,
but including lots of other stuff that is RAM-related.  Renaming it to
ram_init_all().  Instead, provide a real ram_state_init().

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c