summary refs log tree commit diff
path: root/aarch64
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2018-10-08 16:24:59 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-10-18 19:01:06 -0700
commit7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8 (patch)
tree921d3730fc6e576e54bfbb9c7a56f498c5ed9d19 /aarch64
parent2167ae953519e5dae023a92431a34a5a7b44546b (diff)
downloadcrosvm-7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8.tar
crosvm-7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8.tar.gz
crosvm-7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8.tar.bz2
crosvm-7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8.tar.lz
crosvm-7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8.tar.xz
crosvm-7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8.tar.zst
crosvm-7f9b9ea344b5f9db68310d1d73e579b4e9bf59a8.zip
qcow: add convert API and export it in qcow_utils
This will be used in vm_concierge's ExportDiskImage function in order to
allow a minimal qcow2 image to be written on the fly (containing only
the required clusters in a tightly-packed image file). It also allows
future flexibility to change the underlying disk image file format while
still exporting qcow2 images (e.g. via `vmc export`).

For testing, add a qcow_img `convert` command, which can convert
between raw and qcow2 as both source and destination.

BUG=None
TEST=Use qcow_img to convert a raw image to qcow2 and back and verify
     its contents are the same as the original.

Change-Id: I74167aca9a9c857d892e24adf5ee17afc0f6e6b5
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1272060
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'aarch64')
0 files changed, 0 insertions, 0 deletions