Skip to content
  • lirans@il.ibm.com's avatar
    Expose a mechanism to trace block writes · 7cd1e32a
    lirans@il.ibm.com authored
    
    
    To support live migration without shared storage we need to be able to trace
    writes to disk while migrating. This Patch expose dirty block tracking per
    device to be polled from upper layer.
    
    Changes from v4:
    - Register dirty tracking for each block device.
    - Minor coding style issues.
    - Block.c will now manage a dirty bitmap per device once
      bdrv_set_dirty_tracking() is called. Bitmap is polled by the upper
      layer (block-migration.c).
    
    Signed-off-by: default avatarLiran Schour <lirans@il.ibm.com>
    Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
    7cd1e32a