]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuxml2argvdata: luks-disks-source-qcow2: Remove specific machine type
authorPeter Krempa <pkrempa@redhat.com>
Sat, 6 Feb 2021 12:05:04 +0000 (13:05 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 9 Feb 2021 10:30:19 +0000 (11:30 +0100)
The test doesn't depend on any specific machine type.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2argvdata/luks-disks-source-qcow2.args
tests/qemuxml2argvdata/luks-disks-source-qcow2.x86_64-latest.args
tests/qemuxml2argvdata/luks-disks-source-qcow2.xml
tests/qemuxml2xmloutdata/luks-disks-source-qcow2.x86_64-latest.xml

index e7a29b2e0334f058df704f1fd02c9343117a7cb9..f3a1230f640adac7f92e7e872ccd2f49e0739975 100644 (file)
@@ -12,7 +12,7 @@ QEMU_AUDIO_DRV=none \
 -S \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-encryptdisk/master-key.aes \
--machine pc-i440fx-2.1,accel=tcg,usb=off,dump-guest-core=off \
+-machine pc,accel=tcg,usb=off,dump-guest-core=off \
 -m 1024 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 6e469d19533fd1bea98544a01494e739f6750589..57a86c549d4ed9595efb1f726b3080f9a43b0da2 100644 (file)
@@ -12,8 +12,7 @@ QEMU_AUDIO_DRV=none \
 -S \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-encryptdisk/master-key.aes \
--machine pc-i440fx-2.1,accel=tcg,usb=off,dump-guest-core=off,\
-memory-backend=pc.ram \
+-machine pc,accel=tcg,usb=off,dump-guest-core=off,memory-backend=pc.ram \
 -cpu qemu64 \
 -m 1024 \
 -object memory-backend-ram,id=pc.ram,size=1073741824 \
index 4dacc79ff43e473f8fdc414df431d724c3bcf5be..7192ca00bd21656e858d1a202dbf1319e0f92bc1 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>524288</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
-    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
+    <type arch='x86_64' machine='pc'>hvm</type>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
index aa13fe5dfad04b5a5f0b1d54bd985a7e938b1c22..0a21f4544af7d45359f59f647917c6a03dad73a3 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>524288</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
-    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
+    <type arch='x86_64' machine='pc'>hvm</type>
     <boot dev='hd'/>
   </os>
   <cpu mode='custom' match='exact' check='none'>