CCI-MOC / lsvd-rbd

Log Structured Virtual Disk
GNU General Public License v2.0
8 stars 5 forks source link

Port `clone.py` logic into `translate.cc` #18

Open knikolla opened 7 months ago

knikolla commented 7 months ago

Currently there is a Python script called clone.py that clones an LSVD image. This script reimplements the LSVD data structures and is at risk of falling out of date.

Implementing this as part of the C++ codebase would allow it to use the data structures directly.

translate.cc is used by imgtool which is used to perform LSVD image manipulation.

https://github.com/CCI-MOC/lsvd-rbd/blob/3c04f8d69073868b23871a9d1b3c19622f1b5ba2/translate.cc#L1575