Merge "Use virtio bus with uefi"
This commit is contained in:
commit
e461e36ee9
@ -34,15 +34,8 @@
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='{{ disk_format }}' cache='unsafe'/>
|
||||
<source file='{{ imagefile }}'/>
|
||||
<!-- NOTE(lucasagomes): The virtio disk controller apparently does
|
||||
not work with UEFI, so let's use IDE. -->
|
||||
{% if uefi_loader %}
|
||||
<target dev='vd{{ letter }}' bus='ide'/>
|
||||
<address type='drive' controller='0' bus='0' target='0' unit='{{ loop.index }}'/>
|
||||
{% else %}
|
||||
<target dev='vd{{ letter }}' bus='virtio'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x0{{ letter }}' function='0x0'/>
|
||||
{% endif %}
|
||||
</disk>
|
||||
{% endfor %}
|
||||
<controller type='ide' index='0'>
|
||||
|
Loading…
Reference in New Issue
Block a user