33 lines
1.2 KiB
Raw Normal View History

<!-- Example libvirt VM configuration with Vitastor disk -->
<domain type='kvm'>
<memory unit="KiB">524288</memory>
<type arch='x86_64'>hvm</type>
<boot dev='hd' />
<disk type='network' device='disk'>
<target dev='vda' bus='virtio' />
<driver name='qemu' type='raw' />
<!-- name is Vitastor image name -->
<!-- config (optional) is the path to Vitastor's configuration file -->
<!-- query (optional) is Vitastor's etcd_prefix -->
<source protocol='vitastor' name='debian9' query='/vitastor' config='/etc/vitastor/vitastor.conf'>
<!-- hosts = etcd addresses -->
<host name='' port='2379' />
<!-- required because Vitastor only supports 4k physical sectors -->
<blockio physical_block_size="4096" logical_block_size="512" />
<interface type='network'>
<source network='default' />
<graphics type='vnc' port='-1' />