From 1a695192f443be3df176ec4c256de78316a589f3 Mon Sep 17 00:00:00 2001 From: Dmitry Fedorov Date: Tue, 19 Jan 2021 16:30:47 +0300 Subject: [PATCH] winusb: Replace minimal stubomain' kernel and ramdisk in favor of alternative with extended functionality --- templates/libvirt/xen.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml index 30b642290..8ad672663 100644 --- a/templates/libvirt/xen.xml +++ b/templates/libvirt/xen.xml @@ -187,6 +187,11 @@ {% if vm.stubdom_mem %} memory="{{ vm.stubdom_mem * 1024 -}}" {% endif %} + {% if vm.features.check_with_template('audio-model', False) + or vm.features.check_with_template('stubdom_qrexec', False) %} + kernel="/usr/libexec/xen/boot/qemu-stubdom-linux-full-kernel" + ramdisk="/usr/libexec/xen/boot/qemu-stubdom-linux-full-rootfs" + {% endif %} /> {% if vm.features.check_with_template('audio-model', False) %}