import: support importing qcow2 images

System Internals / systemd - Lennart Poettering [poettering.net] - 16 January 2015 13:09 UTC

With this change the import tool will now unpack qcow2 images into normal raw disk images, suitable for usage with nspawn.

This allows has the benefit of also allowing importing Ubuntu Cloud images for usage with nspawn.

edce2ae import: support importing qcow2 images
.gitignore | 1 +
Makefile.am | 30 +++-
configure.ac | 13 ++
src/import/import-raw.c | 48 +++++++
src/import/import.c | 52 +++++--
src/import/qcow2-util.c | 347 +++++++++++++++++++++++++++++++++++++++++++++++
src/import/qcow2-util.h | 25 ++++
src/import/test-qcow2.c | 55 ++++++++
8 files changed, 560 insertions(+), 11 deletions(-)

Upstream: github.com


  • Share