On (Tue) 18 Oct 2016 [20:10:04], zhanghailiang wrote: > VM checkpointing is to synchronize the state of PVM to SVM, just > like migration does, we re-use save helpers to achieve migrating > PVM's state to Secondary side. > > COLO need to cache the data of VM's state in the secondary side before > synchronize it to SVM. COLO need the size of the data to determine > how much data should be read in the secondary side. > So here, we can get the size of the data by saving it into I/O channel > before send it to the secondary side.
BTW PVM and SVM and Primary and Secondary are used interchangeably and inconsistently. I'd prefer if you stuck with one usage. I prefer Primary and Secondary, but it doesn't matter what you choose. Amit