On 15/01/2015 04:54, Zhang Haoyu wrote: >>>> > >> 2) Finer-grain control the parameters of block migration (dirty bitmap >>>> > >> granularity). >>>> > >> >>>> > >> 3) Block and RAM migration do not share the same socket and thus can >>>> > >> more easily be parallelized. >>>> > >> > drive_mirror job is done in main-thread, > then how to accept the qmp_migrate request while drive_mirror is performing? > If need to wait for the completion of drive_mirror, > how to implement the parallelization between block and ram migration?
drive_mirror runs in the background, using coroutines. Paolo