Blame SOURCES/libvirt-tests-qemuxml2argv-Use-existing-machine-type-for-numatune-distances-case.patch

397dc2
From 5fad3414910beac08371233414939433644a92e8 Mon Sep 17 00:00:00 2001
397dc2
Message-Id: <5fad3414910beac08371233414939433644a92e8@dist-git>
397dc2
From: Peter Krempa <pkrempa@redhat.com>
397dc2
Date: Wed, 7 Oct 2020 18:45:31 +0200
397dc2
Subject: [PATCH] tests: qemuxml2argv: Use existing machine type for
397dc2
 'numatune-distances' case
397dc2
MIME-Version: 1.0
397dc2
Content-Type: text/plain; charset=UTF-8
397dc2
Content-Transfer-Encoding: 8bit
397dc2
397dc2
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
397dc2
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
397dc2
(cherry picked from commit 99dcdf505e0856a5ebfb31f0047a1e24ec60b557)
397dc2
397dc2
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1749518
397dc2
397dc2
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
397dc2
Message-Id: <4af6d896e777397acd8b5945da6bf6bf071f2e98.1602087923.git.mprivozn@redhat.com>
397dc2
Reviewed-by: Ján Tomko <jtomko@redhat.com>
397dc2
---
397dc2
 tests/qemuxml2argvdata/numatune-distances.args | 4 ++--
397dc2
 tests/qemuxml2argvdata/numatune-distances.xml  | 2 +-
397dc2
 2 files changed, 3 insertions(+), 3 deletions(-)
397dc2
397dc2
diff --git a/tests/qemuxml2argvdata/numatune-distances.args b/tests/qemuxml2argvdata/numatune-distances.args
397dc2
index 895efeab15..a20b40b5c5 100644
397dc2
--- a/tests/qemuxml2argvdata/numatune-distances.args
397dc2
+++ b/tests/qemuxml2argvdata/numatune-distances.args
397dc2
@@ -10,7 +10,7 @@ QEMU_AUDIO_DRV=none \
397dc2
 /usr/bin/qemu-system-x86_64 \
397dc2
 -name QEMUGuest \
397dc2
 -S \
397dc2
--machine xenfv,accel=tcg,usb=off,dump-guest-core=off \
397dc2
+-machine pc,accel=tcg,usb=off,dump-guest-core=off \
397dc2
 -m 12288 \
397dc2
 -realtime mlock=off \
397dc2
 -smp 12,sockets=12,cores=1,threads=1 \
397dc2
@@ -66,4 +66,4 @@ server,nowait \
397dc2
 -rtc base=utc \
397dc2
 -no-shutdown \
397dc2
 -usb \
397dc2
--device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2
397dc2
+-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
397dc2
diff --git a/tests/qemuxml2argvdata/numatune-distances.xml b/tests/qemuxml2argvdata/numatune-distances.xml
397dc2
index 0f33526b46..fa4de6aaf6 100644
397dc2
--- a/tests/qemuxml2argvdata/numatune-distances.xml
397dc2
+++ b/tests/qemuxml2argvdata/numatune-distances.xml
397dc2
@@ -5,7 +5,7 @@
397dc2
   <currentMemory unit='KiB'>8388608</currentMemory>
397dc2
   <vcpu placement='static'>12</vcpu>
397dc2
   <os>
397dc2
-    <type arch='x86_64' machine='xenfv'>hvm</type>
397dc2
+    <type arch='x86_64' machine='pc'>hvm</type>
397dc2
     <boot dev='hd'/>
397dc2
   </os>
397dc2
   <features>
397dc2
-- 
397dc2
2.29.2
397dc2