mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Secure Encryption Virtualization is supported by libvirt and this change adds support for vagrant-libvirt to enable it. It requires a UEFI base box and needs a combination of options to be configured for it to work. Co-authored-by: PELLET Norman <norman.pellet@csem.ch> Co-authored-by: MUNTANÉ CALVO Enric <emc@csem.ch> Co-authored-by: Darragh Bailey <daragh.bailey@gmail.com> Closes: #1372
52 lines
1.4 KiB
XML
52 lines
1.4 KiB
XML
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
|
<name>vagrant-test_default</name>
|
|
<title></title>
|
|
<description>Source: /rootpath/Vagrantfile</description>
|
|
<uuid></uuid>
|
|
<memory>524288</memory>
|
|
<vcpu>1</vcpu>
|
|
<cpu mode='host-model'>
|
|
<model fallback='allow'></model>
|
|
</cpu>
|
|
<os>
|
|
<type>hvm</type>
|
|
<bootmenu enable='no'/>
|
|
<kernel></kernel>
|
|
<initrd></initrd>
|
|
<cmdline></cmdline>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<pae/>
|
|
</features>
|
|
<clock offset='utc'>
|
|
</clock>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<alias name='ua-box-volume-0'/>
|
|
<driver name='qemu' type='qcow2' cache='default'/>
|
|
<source file='/var/lib/libvirt/images/vagrant-test_default.img'/>
|
|
<target dev='vda' bus='virtio'/>
|
|
</disk>
|
|
<disk type='file' device='disk'>
|
|
<alias name='ua-disk-volume-0'/>
|
|
<driver name='qemu' type='qcow2' cache='default'/>
|
|
<source file='/var/lib/libvirt/images/vagrant-test_default-vdb.qcow2'/>
|
|
<target dev='vdb' bus='virtio'/>
|
|
</disk>
|
|
<serial type='pty'>
|
|
<target port='0'/>
|
|
</serial>
|
|
<console type='pty'>
|
|
<target port='0'/>
|
|
</console>
|
|
<input type='mouse' bus='ps2'>
|
|
</input>
|
|
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
|
|
<video>
|
|
<model type='cirrus' vram='16384' heads='1'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|