From 24f15c9326c85aab8466f47cefa050b944bd4515 Mon Sep 17 00:00:00 2001 From: ibezukh <59094274+enp0s3@users.noreply.github.com> Date: Sun, 10 Jan 2021 18:10:37 +0200 Subject: [PATCH] Adopt RHEL6 and Centos 6 templates to new libvirt/QEMU changes (#302) Old guests like RHEL6 or CentOS6 require virtio-transitional in newer libvirt/qemu versions, there a flag was added in the VM template in order to signal the need for the virtio-transitional configuration in the devices section. BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1783192 Signed-off-by: Igor Bezukh --- templates/centos6.tpl.yaml | 1 + templates/rhel6.tpl.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/centos6.tpl.yaml b/templates/centos6.tpl.yaml index 30e8f90c..1c948309 100644 --- a/templates/centos6.tpl.yaml +++ b/templates/centos6.tpl.yaml @@ -101,6 +101,7 @@ objects: requests: memory: {{ item.memsize }} devices: + useVirtioTransitional: true rng: {} {% if item.tablet %} inputs: diff --git a/templates/rhel6.tpl.yaml b/templates/rhel6.tpl.yaml index 7193dbf9..93d96697 100644 --- a/templates/rhel6.tpl.yaml +++ b/templates/rhel6.tpl.yaml @@ -101,6 +101,7 @@ objects: requests: memory: {{ item.memsize }} devices: + useVirtioTransitional: true rng: {} {% if item.tablet %} inputs: