bootstrap-vz/bootstrapvz/providers/kvm/README.rst
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

36 lines
953 B
ReStructuredText

KVM
===
The `KVM <http://www.linux-kvm.org/page/Main_Page>`__ provider creates
virtual images for Linux Kernel-based Virtual Machines. It supports the
installation of `virtio kernel
modules <http://www.linux-kvm.org/page/Virtio>`__ (paravirtualized
drivers for IO operations).
It also supports creating an image with LVM and qcow2 as a disk backend.
Manifest settings
-----------------
Provider
~~~~~~~~
- ``virtio``: Specifies which virtio kernel modules to install.
``optional``
- ``logicalvolume``: Specifies the logical volume where the disk image will be built.
``volumegroup``: Specifies the volume group where the logical volume will be stored.
These options should only be used if ``lvm`` was given as a disk backend.
Example:
.. code-block:: yaml
---
provider:
name: kvm
virtio:
- virtio_blk
- virtio_net
volume:
backing: lvm
logicalvolume: lvtest
volumegroup: vgtest