summaryrefslogtreecommitdiff
path: root/debian/0001-d-t-vbmc-qemu-vm-session.xml-Drop-unsupported-machin.patch
blob: 951cdb44ca07c85fa695f6826c04c781d83ac204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From a7935cc899f8bb6504d6328dd668568ec63971f1 Mon Sep 17 00:00:00 2001
From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Date: Fri, 15 Aug 2025 08:34:49 +0200
Subject: [PATCH] d/t/vbmc-qemu-vm-session.xml: Drop unsupported machine type

Qemu dropped some very old machine types.
This conflicts with the config used in the ipmitools test

debian/tests/vbmc-qemu-vm-session.xml:7:
  <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>

Causing the tests to fail now:

 94s autopkgtest [02:57:18]: test qemuvbmc: [-----------------------
 94s debian/tests/vbmc-qemu-vm-session.xml validates
 95s
 95s error: Failed to define domain from debian/tests/vbmc-qemu-vm-session.xml
 95s error: unsupported configuration: Emulator '/usr/bin/qemu-system-x86_64'
     does not support machine type 'pc-i440fx-2.5'

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
---
 debian/tests/vbmc-qemu-vm-session.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/vbmc-qemu-vm-session.xml b/debian/tests/vbmc-qemu-vm-session.xml
index f345b8b..7e4bc2d 100644
--- a/debian/tests/vbmc-qemu-vm-session.xml
+++ b/debian/tests/vbmc-qemu-vm-session.xml
@@ -4,7 +4,7 @@
   <currentMemory unit='KiB'>256000</currentMemory>
   <vcpu>1</vcpu>
   <os>
-    <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>
+    <type arch='x86_64' machine='pc'>hvm</type>
     <kernel>/boot/vmlinuz</kernel>
     <initrd>/boot/initrd.img</initrd>
     <cmdline> console=ttyS0 quiet loglevel=0 edd=off printk.time=1 noreplace-smp cgroup_disable=memory pci=noearly noapic panic=-1 selinux=0</cmdline>
-- 
2.43.0