mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
tests: qemuxml2argv: Use proper replacement for 'pc-i440fx-wily' machine
This machine type comes from downstream ubuntu 15.10. Replace it with a somewhat equivalent qemu-2.3 machine type as we do have test data for that. The change allows the CPU code to pick a proper default CPU in the '-latest' cases. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
ccd4231149
commit
9517890f7c
@ -10,7 +10,7 @@ QEMU_AUDIO_DRV=none \
|
||||
/usr/bin/qemu-system-x86_64 \
|
||||
-name instance-00000092 \
|
||||
-S \
|
||||
-machine pc-i440fx-wily,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-machine pc-i440fx-2.3,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-m 14336 \
|
||||
-mem-prealloc \
|
||||
-mem-path /var/lib/libvirt/qemu/ram/libvirt/qemu/-1-instance-00000092/ram \
|
||||
|
@ -10,7 +10,7 @@
|
||||
</memoryBacking>
|
||||
<vcpu placement='static'>8</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
|
||||
<type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<cpu>
|
||||
|
@ -10,7 +10,7 @@ QEMU_AUDIO_DRV=none \
|
||||
/usr/bin/qemu-system-x86_64 \
|
||||
-name instance-00000092 \
|
||||
-S \
|
||||
-machine pc-i440fx-wily,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-machine pc-i440fx-2.3,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-m 14336 \
|
||||
-mem-prealloc \
|
||||
-realtime mlock=off \
|
||||
|
@ -10,7 +10,7 @@
|
||||
</memoryBacking>
|
||||
<vcpu placement='static'>8</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
|
||||
<type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<cpu>
|
||||
|
@ -10,7 +10,7 @@ QEMU_AUDIO_DRV=none \
|
||||
/usr/bin/qemu-system-x86_64 \
|
||||
-name instance-00000092 \
|
||||
-S \
|
||||
-machine pc-i440fx-wily,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-machine pc-i440fx-2.3,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-m 28672 \
|
||||
-mem-prealloc \
|
||||
-realtime mlock=off \
|
||||
|
@ -10,7 +10,7 @@
|
||||
</memoryBacking>
|
||||
<vcpu placement='static'>20</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
|
||||
<type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<cpu>
|
||||
|
@ -10,7 +10,7 @@ QEMU_AUDIO_DRV=none \
|
||||
/usr/bin/qemu-system-x86_64 \
|
||||
-name instance-00000092 \
|
||||
-S \
|
||||
-machine pc-i440fx-wily,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-machine pc-i440fx-2.3,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-m 43008 \
|
||||
-mem-prealloc \
|
||||
-realtime mlock=off \
|
||||
|
@ -10,7 +10,7 @@
|
||||
</memoryBacking>
|
||||
<vcpu placement='static'>32</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
|
||||
<type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<cpu>
|
||||
|
@ -12,7 +12,8 @@ QEMU_AUDIO_DRV=none \
|
||||
-S \
|
||||
-object secret,id=masterKey0,format=raw,\
|
||||
file=/tmp/lib/domain--1-instance-00000092/master-key.aes \
|
||||
-machine pc-i440fx-wily,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-machine pc-i440fx-2.3,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-cpu qemu64 \
|
||||
-m 14336 \
|
||||
-mem-prealloc \
|
||||
-overcommit mem-lock=off \
|
||||
|
@ -14,7 +14,7 @@
|
||||
<memnode cellid='0' mode='preferred' nodeset='3'/>
|
||||
</numatune>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
|
||||
<type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<cpu>
|
||||
|
@ -12,7 +12,8 @@ QEMU_AUDIO_DRV=none \
|
||||
-S \
|
||||
-object secret,id=masterKey0,format=raw,\
|
||||
file=/tmp/lib/domain--1-instance-00000092/master-key.aes \
|
||||
-machine pc-i440fx-wily,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-machine pc-i440fx-2.3,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-cpu qemu64 \
|
||||
-m 14336 \
|
||||
-mem-prealloc \
|
||||
-overcommit mem-lock=off \
|
||||
|
@ -16,7 +16,7 @@
|
||||
<memnode cellid='0' mode='preferred' nodeset='3'/>
|
||||
</numatune>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
|
||||
<type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<cpu>
|
||||
|
Loading…
x
Reference in New Issue
Block a user