]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2(argv|xml)data: x86-kvm-32-on-64: Add machine type
authorPeter Krempa <pkrempa@redhat.com>
Thu, 13 Jan 2022 15:14:42 +0000 (16:14 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 17 Jan 2022 08:26:17 +0000 (09:26 +0100)
The machine type doesn't change the test result and prevents tests being
changed every time we are about to update real capabilities to a new
qemu.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/x86-kvm-32-on-64.x86_64-latest.args
tests/qemuxml2argvdata/x86-kvm-32-on-64.xml
tests/qemuxml2xmloutdata/x86-kvm-32-on-64.x86_64-latest.xml

index fe326b6943177fbd2a30adc6c3f34338939de3c3..cfe1abab603dde076c02c10b68d40ad206d896d0 100644 (file)
@@ -10,7 +10,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-kvm/.config \
 -name guest=kvm,debug-threads=on \
 -S \
 -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-kvm/master-key.aes"}' \
--machine pc-i440fx-6.2,usb=off,dump-guest-core=off,memory-backend=pc.ram \
+-machine pc,usb=off,dump-guest-core=off,memory-backend=pc.ram \
 -accel kvm \
 -cpu qemu64 \
 -m 4096 \
index 37f53bf2affc59c26fbb82ecb6ed5e2ef67082d8..35ddbd0630c4a107d494a3f8b0f5160428dc698e 100644 (file)
@@ -3,7 +3,7 @@
   <uuid>d091ea82-29e6-2e34-3005-f02617b36e87</uuid>
   <memory unit='KiB'>4194304</memory>
   <os>
-    <type arch='i686'>hvm</type>
+    <type arch='i686' machine='pc'>hvm</type>
   </os>
   <devices>
     <emulator>/usr/bin/qemu-system-x86_64</emulator>
index b51fb18788f936f8dd41763f06be16bda489e3c6..c5e9c4fe2236598cb355e7173ddc6808846f95d1 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
-    <type arch='i686' machine='pc-i440fx-6.2'>hvm</type>
+    <type arch='i686' machine='pc'>hvm</type>
     <boot dev='hd'/>
   </os>
   <cpu mode='custom' match='exact' check='none'>