From adcc9d7e771a9cfe995ed47cbde3d91c4503bb75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 19 Feb 2019 00:56:25 +0100 Subject: [PATCH] libvirt: adjust domain xml template for upstream PVH format The final PVH support upstream use different machine type name. --- qubes/tests/vm/qubesvm.py | 4 ++-- templates/libvirt/xen.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qubes/tests/vm/qubesvm.py b/qubes/tests/vm/qubesvm.py index 42988cfa..3e4dde6c 100644 --- a/qubes/tests/vm/qubesvm.py +++ b/qubes/tests/vm/qubesvm.py @@ -882,7 +882,7 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase): - pvh + xenpvh /tmp/kernel/vmlinuz /tmp/kernel/initramfs root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat @@ -952,7 +952,7 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase): - pvh + xenpvh /tmp/kernel/vmlinuz /tmp/kernel/initramfs root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml index 8f3f7162..9aa1a1cc 100644 --- a/templates/libvirt/xen.xml +++ b/templates/libvirt/xen.xml @@ -36,7 +36,7 @@ {% else %} {% if vm.virt_mode == 'pvh' %} - pvh + xenpvh {% else %} linux {% endif %}