• Juan Quintela's avatar
    Separate migration bitmap · c6bf8e0e
    Juan Quintela authored
    This patch creates a migration bitmap, which is periodically kept in
    sync with the qemu bitmap. A separate copy of the dirty bitmap for the
    migration limits the amount of concurrent access to the qemu bitmap
    from iothread and migration thread (which requires taking the big
    We use the qemu bitmap type.  We have to "undo" the dirty_pages
    counting optimization on the general dirty bitmap and do the counting
    optimization with the migration local bitmap.
    Signed-off-by: default avatarUmesh Deshpande <udeshpan@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
arch_init.c 28.6 KB