Explorar o código

Merge remote-tracking branch 'origin/pr/348'

* origin/pr/348:
  add audio-model feature
Marek Marczykowski-Górecki %!s(int64=3) %!d(string=hai) anos
pai
achega
f7c0c70877
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      templates/libvirt/xen.xml

+ 3 - 0
templates/libvirt/xen.xml

@@ -189,6 +189,9 @@
                     {% endif %}
                     />
                 <input type="tablet" bus="usb"/>
+                {% if vm.features.check_with_template('audio-model', False) %}
+                    <sound model="{{ vm.features.check_with_template('audio-model', False) }}"/>
+                {% endif %}
                 {% if vm.features.check_with_template('video-model', 'vga') != 'none' %}
                     <video>
                         <model type="{{ vm.features.check_with_template('video-model', 'vga') }}"/>