]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2argvdata: Don't use 'host-model' cpu in 'hugepages-memaccess3'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 18 Aug 2021 11:45:30 +0000 (13:45 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Aug 2021 08:33:38 +0000 (10:33 +0200)
The test case doesn't really test anything about the specific CPU. Using
a host-model cpu with DO_TEST_CAPS_LATEST results in commandline changes
every time qemu updates the cpu definiton.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/hugepages-memaccess3.x86_64-latest.args
tests/qemuxml2argvdata/hugepages-memaccess3.xml

index f6c5e116d8c6241b387a72ca7039e90481538986..ae5b48aa1c8661fe4344d113f156a34efa5e1ab7 100644 (file)
@@ -11,7 +11,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-fedora/.config \
 -S \
 -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-fedora/master-key.aes"}' \
 -machine pc-i440fx-2.9,accel=kvm,usb=off,dump-guest-core=off,memory-backend=pc.ram \
--cpu EPYC-Rome,x2apic=on,tsc-deadline=on,hypervisor=on,tsc-adjust=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,cmp-legacy=on,amd-ssbd=on,virt-ssbd=on,rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on,svm=off,npt=off,nrip-save=off \
+-cpu qemu64 \
 -m 4096 \
 -object '{"qom-type":"memory-backend-file","id":"pc.ram","mem-path":"/dev/hugepages2M/libvirt/qemu/-1-fedora","share":true,"x-use-canonical-path-for-ramblock-id":false,"prealloc":true,"size":4294967296}' \
 -overcommit mem-lock=off \
index 43c3ec688b701ad2cac45fecfc57dff6b5c6743b..a9d2cd9da01af2bc8ed615e1da8c0cdb967a05de 100644 (file)
@@ -12,9 +12,6 @@
     <type arch='x86_64' machine='pc-i440fx-2.9'>hvm</type>
     <bootmenu enable='yes'/>
   </os>
-  <cpu mode='host-model' check='partial'>
-    <model fallback='allow'/>
-  </cpu>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
   <on_crash>destroy</on_crash>