Browse Source

Merge "Use virtio bus with uefi"

tags/15.1.0
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
e461e36ee9
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      devstack/tools/ironic/templates/vm.xml

+ 0
- 7
devstack/tools/ironic/templates/vm.xml View File

@@ -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…
Cancel
Save