bootstrap-vz/bootstrapvz/common/fs/qcow2volume.py
Brendan Harley cc69173e52 Add qcow2 as a disk backend for KVM
This allows to build an image with qcow2 as a disk backend.

The update implements a new class that inherits from QEMUVolume and just
needs the extention and file format.
2017-06-16 15:54:51 +02:00

7 lines
118 B
Python

from qemuvolume import QEMUVolume
class Qcow2Volume(QEMUVolume):
extension = 'qcow2'
qemu_format = 'qcow2'