]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
migration: new ram_init_bitmaps()
authorPeter Xu <peterx@redhat.com>
Thu, 19 Oct 2017 06:32:00 +0000 (14:32 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 23 Oct 2017 16:03:38 +0000 (18:03 +0200)
commitd6eff5d75d6b8d2fb18dca4ebd9f02a16d8e7f3b
treeb2f4cb7b2de61a1b4b27837bbd883dbf14f7a224
parent84593a0807004d852132eaa56edf24d55793d480
migration: new ram_init_bitmaps()

Rearrange the bitmap initialization and the first sync.  Since at it,
make sure the locks are taken/released in correct order (I moved RCU
unlock upper - though it may not affect much).

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