Use virtio bus with uefi
The virtio bus should perform better now that is working also with uefi. Change-Id: Id6cc41ab18abe6e6efb60b78a59152d27f5afb33
This commit is contained in:
parent
04eccecdbb
commit
0fa90f658b
@ -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