]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: capabilities: Replace aliased machine type by copy of the canonical machine
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Jan 2020 12:20:25 +0000 (13:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Jan 2020 13:55:03 +0000 (14:55 +0100)
The previous approac of just purging the alias combined with the fact
that we filled in fake machine types in the test data meant that if a
test case used an alias machine type such as 'pc' or 'q35' it would not
properly resolve to the actual data returned by qemu.

This started to be a problem since the CPU driver now looks at the
default CPU reported with the machine type.

This patch replaces the original approach of just removing the alias by
replacing it with a copy of the machine type data which the type would
alias to. This means that we are using the real data while we don't
modify the test output after every qemu upgrade.

Additionally this change will allow us to drop adding the fake machine
types later.

The test fallout is from actually excercising the CPU driver with
actual data.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
122 files changed:
src/qemu/qemu_capabilities.c
tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args
tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args
tests/qemuxml2argvdata/channel-unix-guestfwd.x86_64-latest.args
tests/qemuxml2argvdata/console-virtio-unix.x86_64-latest.args
tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args
tests/qemuxml2argvdata/default-video-type-s390x.s390x-latest.args
tests/qemuxml2argvdata/disk-aio.x86_64-latest.args
tests/qemuxml2argvdata/disk-backing-chains-noindex.x86_64-latest.args
tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args
tests/qemuxml2argvdata/disk-cdrom-empty-network-invalid.x86_64-latest.args
tests/qemuxml2argvdata/disk-cdrom.x86_64-latest.args
tests/qemuxml2argvdata/disk-error-policy.x86_64-latest.args
tests/qemuxml2argvdata/disk-floppy.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-gluster.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-iscsi.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-nbd.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-rbd.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-sheepdog.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-source-auth.x86_64-latest.args
tests/qemuxml2argvdata/disk-network-tlsx509.x86_64-latest.args
tests/qemuxml2argvdata/disk-nvme.x86_64-latest.args
tests/qemuxml2argvdata/disk-readonly-disk.x86_64-latest.args
tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.args
tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args
tests/qemuxml2argvdata/disk-shared.x86_64-latest.args
tests/qemuxml2argvdata/disk-virtio-scsi-reservations.x86_64-latest.args
tests/qemuxml2argvdata/eoi-disabled.x86_64-latest.args
tests/qemuxml2argvdata/eoi-enabled.x86_64-latest.args
tests/qemuxml2argvdata/floppy-drive-fat.x86_64-latest.args
tests/qemuxml2argvdata/fs9p-ccw.s390x-latest.args
tests/qemuxml2argvdata/fs9p.x86_64-latest.args
tests/qemuxml2argvdata/genid-auto.x86_64-latest.args
tests/qemuxml2argvdata/genid.x86_64-latest.args
tests/qemuxml2argvdata/graphics-egl-headless-rendernode.x86_64-latest.args
tests/qemuxml2argvdata/graphics-egl-headless.x86_64-latest.args
tests/qemuxml2argvdata/graphics-spice-gl-auto-rendernode.x86_64-latest.args
tests/qemuxml2argvdata/graphics-vnc-tls-secret.x86_64-latest.args
tests/qemuxml2argvdata/graphics-vnc-tls.x86_64-latest.args
tests/qemuxml2argvdata/hostdev-mdev-display-ramfb.x86_64-latest.args
tests/qemuxml2argvdata/hostdev-mdev-display-spice-egl-headless.x86_64-latest.args
tests/qemuxml2argvdata/hostdev-mdev-display-spice-opengl.x86_64-latest.args
tests/qemuxml2argvdata/hostdev-mdev-display-vnc-egl-headless.x86_64-latest.args
tests/qemuxml2argvdata/hostdev-mdev-display-vnc.x86_64-latest.args
tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap.s390x-latest.args
tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-boot.s390x-latest.args
tests/qemuxml2argvdata/hugepages-nvdimm.x86_64-latest.args
tests/qemuxml2argvdata/hyperv-off.x86_64-latest.args
tests/qemuxml2argvdata/hyperv-panic.x86_64-latest.args
tests/qemuxml2argvdata/hyperv-stimer-direct.x86_64-latest.args
tests/qemuxml2argvdata/hyperv.x86_64-latest.args
tests/qemuxml2argvdata/intel-iommu-caching-mode.x86_64-latest.args
tests/qemuxml2argvdata/intel-iommu-caching-mode.xml
tests/qemuxml2argvdata/intel-iommu-device-iotlb.x86_64-latest.args
tests/qemuxml2argvdata/intel-iommu-device-iotlb.xml
tests/qemuxml2argvdata/intel-iommu-eim.x86_64-latest.args
tests/qemuxml2argvdata/intel-iommu-eim.xml
tests/qemuxml2argvdata/intel-iommu.x86_64-2.6.0.args
tests/qemuxml2argvdata/intel-iommu.x86_64-latest.args
tests/qemuxml2argvdata/intel-iommu.xml
tests/qemuxml2argvdata/iommu-smmuv3.aarch64-latest.args
tests/qemuxml2argvdata/iothreads-virtio-scsi-ccw.s390x-latest.args
tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.args
tests/qemuxml2argvdata/kvmclock+eoi-disabled.x86_64-latest.args
tests/qemuxml2argvdata/memory-hotplug-nvdimm-access.x86_64-latest.args
tests/qemuxml2argvdata/memory-hotplug-nvdimm-align.x86_64-latest.args
tests/qemuxml2argvdata/memory-hotplug-nvdimm-label.x86_64-latest.args
tests/qemuxml2argvdata/memory-hotplug-nvdimm-pmem.x86_64-latest.args
tests/qemuxml2argvdata/memory-hotplug-nvdimm-readonly.x86_64-latest.args
tests/qemuxml2argvdata/memory-hotplug-nvdimm.x86_64-latest.args
tests/qemuxml2argvdata/mlock-off.x86_64-latest.args
tests/qemuxml2argvdata/mlock-on.x86_64-latest.args
tests/qemuxml2argvdata/net-vhostuser.x86_64-latest.args
tests/qemuxml2argvdata/parallel-unix-chardev.x86_64-latest.args
tests/qemuxml2argvdata/ppc64-pseries-graphics.ppc64-latest.args
tests/qemuxml2argvdata/ppc64-pseries-headless.ppc64-latest.args
tests/qemuxml2argvdata/pv-spinlock-disabled.x86_64-latest.args
tests/qemuxml2argvdata/pv-spinlock-enabled.x86_64-latest.args
tests/qemuxml2argvdata/qemu-ns.x86_64-latest.args
tests/qemuxml2argvdata/s390x-ccw-graphics.s390x-latest.args
tests/qemuxml2argvdata/s390x-ccw-headless.s390x-latest.args
tests/qemuxml2argvdata/serial-unix-chardev.x86_64-latest.args
tests/qemuxml2argvdata/smartcard-passthrough-unix.x86_64-latest.args
tests/qemuxml2argvdata/usb-redir-unix.x86_64-latest.args
tests/qemuxml2argvdata/vhost-user-gpu-secondary.x86_64-latest.args
tests/qemuxml2argvdata/vhost-user-vga.x86_64-latest.args
tests/qemuxml2argvdata/vhost-vsock-ccw-auto.s390x-latest.args
tests/qemuxml2argvdata/vhost-vsock-ccw.s390x-latest.args
tests/qemuxml2argvdata/video-bochs-display-device.x86_64-latest.args
tests/qemuxml2argvdata/video-qxl-device-vram64.x86_64-latest.args
tests/qemuxml2argvdata/video-qxl-sec-device-vram64.x86_64-latest.args
tests/qemuxml2argvdata/video-ramfb-display-device.x86_64-latest.args
tests/qemuxml2argvdata/virtio-non-transitional.x86_64-latest.args
tests/qemuxml2argvdata/virtio-rng-builtin.x86_64-latest.args
tests/qemuxml2argvdata/virtio-rng-egd-unix.x86_64-latest.args
tests/qemuxml2argvdata/virtio-transitional.x86_64-latest.args
tests/qemuxml2argvdata/x86_64-pc-graphics.x86_64-latest.args
tests/qemuxml2argvdata/x86_64-pc-headless.x86_64-latest.args
tests/qemuxml2argvdata/x86_64-q35-graphics.x86_64-latest.args
tests/qemuxml2argvdata/x86_64-q35-headless.x86_64-latest.args
tests/qemuxml2xmloutdata/aarch64-virt-graphics.aarch64-latest.xml
tests/qemuxml2xmloutdata/aarch64-virt-headless.aarch64-latest.xml
tests/qemuxml2xmloutdata/default-video-type-s390x.s390x-latest.xml
tests/qemuxml2xmloutdata/disk-cdrom-empty-network-invalid.x86_64-latest.xml
tests/qemuxml2xmloutdata/genid-active.x86_64-latest.xml
tests/qemuxml2xmloutdata/genid-auto-active.x86_64-latest.xml
tests/qemuxml2xmloutdata/genid-auto-inactive.x86_64-latest.xml
tests/qemuxml2xmloutdata/genid-inactive.x86_64-latest.xml
tests/qemuxml2xmloutdata/hostdev-subsys-mdev-vfio-ccw-boot.s390x-latest.xml
tests/qemuxml2xmloutdata/intel-iommu.x86_64-2.6.0.xml
tests/qemuxml2xmloutdata/iommu-smmuv3.aarch64-latest.xml
tests/qemuxml2xmloutdata/ppc64-pseries-graphics.ppc64-latest.xml
tests/qemuxml2xmloutdata/ppc64-pseries-headless.ppc64-latest.xml
tests/qemuxml2xmloutdata/s390x-ccw-graphics.s390x-latest.xml
tests/qemuxml2xmloutdata/s390x-ccw-headless.s390x-latest.xml
tests/qemuxml2xmloutdata/virtio-non-transitional.x86_64-latest.xml
tests/qemuxml2xmloutdata/virtio-rng-builtin.x86_64-latest.xml
tests/qemuxml2xmloutdata/virtio-transitional.x86_64-latest.xml
tests/qemuxml2xmloutdata/x86_64-pc-graphics.x86_64-latest.xml
tests/qemuxml2xmloutdata/x86_64-pc-headless.x86_64-latest.xml
tests/qemuxml2xmloutdata/x86_64-q35-graphics.x86_64-latest.xml
tests/qemuxml2xmloutdata/x86_64-q35-headless.x86_64-latest.xml

index 3358a9892083fbeaabb60b7bb4a14989386592b7..e42af8487b8a7894c46596e842b80d4dcd933a4a 100644 (file)
@@ -6029,8 +6029,12 @@ virQEMUCapsStripMachineAliasesForVirtType(virQEMUCapsPtr qemuCaps,
 
     for (i = 0; i < accel->nmachineTypes; i++) {
         virQEMUCapsMachineTypePtr mach = &accel->machineTypes[i];
+        g_autofree char *name = g_steal_pointer(&mach->alias);
 
-        VIR_FREE(mach->alias);
+        if (name) {
+            virQEMUCapsAddMachine(qemuCaps, virtType, name, NULL, mach->defaultCPU,
+                                  mach->maxCpus, mach->hotplugCpus, mach->qemuDefault);
+        }
     }
 }
 
@@ -6039,6 +6043,10 @@ virQEMUCapsStripMachineAliasesForVirtType(virQEMUCapsPtr qemuCaps,
  * virQEMUCapsStripMachineAliases:
  * @qemuCaps: capabilities object to process
  *
+ * Replace all aliases by the copy of the machine type they point to without
+ * actually having to modify the name. This allows us to add tests with the
+ * aliased machine without having to change the output files all the time.
+ *
  * Remove all aliases so that the tests depending on the latest capabilities
  * file can be stable when new files are added.
  */
index c7095a24a5123af2c586f3056a777bc1c77015a9..058c528e8a28c8c322aa4a667e60d709249369f9 100644 (file)
@@ -25,6 +25,7 @@ file=/tmp/lib/domain--1-guest/master-key.aes \
 "driver":"raw","file":"libvirt-pflash1-storage"}' \
 -machine virt,accel=tcg,usb=off,dump-guest-core=off,gic-version=2,\
 pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \
+-cpu cortex-a15 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index d9b8db5cafd28a4f254abb8b0334d37b665bc359..ddd0518bd5d453db11fb1fbfa1a2715aef398575 100644 (file)
@@ -25,6 +25,7 @@ file=/tmp/lib/domain--1-guest/master-key.aes \
 "driver":"raw","file":"libvirt-pflash1-storage"}' \
 -machine virt,accel=tcg,usb=off,dump-guest-core=off,gic-version=2,\
 pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \
+-cpu cortex-a15 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index f9bc1f7420d6811f2769c02de7780cf410780691..95ac94ab7d8ba5ed0022fda7a6e655bce1a632b4 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=kvm,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index e9ec18a31fdc7d703ef2152164b0a38975f8a53d..dbad074eb3ff4d5ea4958c32c76a15622fe38ea0 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=kvm,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 9d7bf325caee6cbd09bf3a8eda551e4b15ded4a4..454da17e2cd13255a0a07bdbc2d7007d75e00656 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 8,sockets=8,cores=1,threads=1 \
index 441270d3d9cabac088ffefeb33cdb451ff009cd5..934c5d598bc51d2650feea08956311fd4c0a3409 100644 (file)
@@ -13,6 +13,9 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-default-video-type-s/master-key.aes \
 -machine s390-ccw-virtio,accel=kvm,usb=off,dump-guest-core=off \
+-cpu z13.2-base,aen=on,aefsi=on,msa5=on,msa4=on,msa3=on,msa2=on,msa1=on,\
+sthyi=on,edat=on,ri=on,edat2=on,vx=on,ipter=on,ap=on,esop=on,apft=on,apqci=on,\
+cte=on,bpb=on,ppa15=on,zpci=on,sea_esop2=on,te=on,cmm=on \
 -m 1024 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index b30edf4dbed839883ab724e1f5a8ac84b92da910..487018cf3e4f549b834a1d5daa03c500f04a1fd9 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 4108943574e41b27e4eb8ae385c97bf6bcca5d49..b1a1f8a6bc8d178f3338558a57c1a9eda57c4681 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index d1b75e76078a72bb87c8410d43c28eb454b64a41..b1c30dd4d80b5638aecac96d4c2831fa8ca0957c 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 88d5fa792963c0c9316951e5731e9027ef6b6f7a..81f250600e14d38f9ba3e59d2c6012ac53d41b9b 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 27c74caf8ef2ed8abd699a69373e9bb60e2bf43f..9c8097c4a69a14980df775055a9f28ad513abfa8 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index ee2b05cb8b2fc157be15fd09312e7de575f705ee..e8f5ea10df4c635c154e26f125eb1a32eca488aa 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 1dba6d5666c57c9ee0512d5632b2d68811797ba3..fbca6c90ec8d55161c0d1d2afda24488bc3efaf5 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 2c5bf86c2de9adc5397e9cbc22cc5ba1985cb116..2cd59992ca20e6dd44999f4bd1f7d70e4795f4dd 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 8831db662239684784ba2f0a9c9f0536fb93e221..0df7819237e355957c1691668bfcc0e3f4bbfdb6 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 8dd224b4b220856eb0267e17ec984c6c40fef6f5..5453440ac879341ed3fd3c49b10853160e325dc3 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 2d05e63cd2a9b1db0ab963bddcd8567acc863b20..ea4cb6ff06c79cae1a010cf914a1fd02b8b8d274 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 03ceb36a546b476c5da20fbc040f92917a25e4a9..302ec9b9fd319486656c9d13dcdc47125aa0af89 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 057cd97273b83f18bf93702612eece7f062928d5..44b8ec87df68a934fd25163b83203afb8c680847 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index fa729cb6e8db45df0b35abb20cf1e3a27e65b261..a2aeb9195801073ce20ca94657a02bd8b026ada7 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32 \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 3393a9129b9df17e130a06a7bbdce8dfcef9d5c4..2962f496c40347ac300304a02c2f2400ab475089 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index aeda701bfebb2e2ebac067d32c9f3f750f7f5464..f67ebf00697df593c4cd34d0c36d07c4b6d3eb38 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index f75da5425a89eb2bcfe8e14df635caa6117bd220..634d929a01eb876158654596c4e3dca9294baa63 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index a7d85b58db448bf05b4a53c2ca237fa0f80baf89..06c71cbab6763fca4e7d33f18c8a13697447f39d 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 9ab0e8cf39c47841c890c56541af36ced589b907..224414e15cb98bced6e96a2299559ddb36cd6892 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 6b59d536b24c0d0a2698048d24952fbe3046489d..bfd7a9253099e2625d2616eaf2b904c7f5348fa3 100644 (file)
@@ -15,6 +15,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -object pr-manager-helper,id=pr-helper0,\
 path=/tmp/lib/domain--1-QEMUGuest1/pr-helper0.sock \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 8,sockets=8,cores=1,threads=1 \
index 2f578da149775c255fba976ce645f7765211be31..c34f2e78c252bc0ceea53d8a61486317ee50bb92 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32,kvm-pv-eoi=off \
+-cpu qemu64,kvm-pv-eoi=off \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index 995d7b8d3199ddfcbb1cfca8a5933b0f7bee8a5b..2ee3ef5031a11cd4a3fdee8d53a518a0573b052e 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32,kvm-pv-eoi=on \
+-cpu qemu64,kvm-pv-eoi=on \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index b6da75fa662dfb336d20dcb786ec02a9dd9533d2..c47f2ea71740e7c2ba5ff8f9a0de13254bc53468 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index efd29c10ea6fb7c6e8f9bbb5d75be3240e82f0c2..4a93ee37cb1b4edc7f8e08618fb31ec8ab44bb50 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index cef9c614f75dd53dd58ae8c9bd61286b2ef7f8e3..700ae6920305e5b9c33c8d08e595287daa4f6fcd 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index aa11b80dbc3627b5b85453730de57a2b6b405dd5..7c39132ff85a188cc58843e838792e9a0b8453db 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 10641ff0148783bc76f64ef5a974fd64fa1a59ef..5bfb8db9f9d9432d313ebfafd53ce1f4464b2735 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 296aa12b41c0b01b5f6670238714396468dfc14e..390a8d16b7e6b1e0a7e2dcfe48ebd5d1d1577131 100644 (file)
@@ -12,6 +12,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest1/.config \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 296aa12b41c0b01b5f6670238714396468dfc14e..390a8d16b7e6b1e0a7e2dcfe48ebd5d1d1577131 100644 (file)
@@ -12,6 +12,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest1/.config \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index bfe53c041eddf9ce3f6a7f54413d51482f07d564..c0d08964d67ca9a1e61f53d4e779437f6cbb374c 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=spice \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 8bd4f95f7dd1546289588725ad4305084f2403ad..5a73408bf99cfe3d8fae6702e67508dfa3b39c3a 100644 (file)
@@ -14,6 +14,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index dcfbb4b658ac7f310fd712b9d4709d892025d4a6..f435b9a1527a9703fa58afdf8c618e30ff3dc94b 100644 (file)
@@ -14,6 +14,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index f7949a9e7db05e0100035bab73e4d282ede9f9a9..bb12d314b977f4674dfa3ba7aa61b2888fec018c 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest2/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 0c7737712c5ed4c538a35d4c1bfcbe467639529e..090b644abbd915b33782e0dbf5e45c526a7e9398 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=spice \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest2/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index d861c96404b97e929b23b9eb30cf29b1c5e8707a..201ccccc7f9bccd7cfdfa5c9ed8c2389ea20aa9d 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=spice \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest2/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index e616aee5701731a11f5f85281e6625f25b0441c2..0809fdce45eee1da0e44d3e8bf12a77f6be27dea 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest2/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 8831636938b3079b97972a590de1dfae5d6631fc..58a75499354ce598c5ea65ff8651fedba828265f 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest2/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 4aedc266ac392651f035d0a31779dec91c880dc0..12bdf84afc7e8a78962813b4324ecff54fbd582b 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 512 \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,cores=1,threads=1 \
index aef2eb37fc9466a8c0665c753cc5aff80122b7dd..ed6d92aba7bd5aa624075d7ce612bae4e516c9fc 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 512 \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,cores=1,threads=1 \
index 0d795dca9179f40598c22d9b35b1f284f6a1c210..e80a95c84b8776ab91b2273e48d25328d4525466 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off,nvdimm=on \
+-cpu qemu64 \
 -m size=1048576k,slots=16,maxmem=1099511627776k \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,dies=1,cores=1,threads=1 \
index fc2429741b14ed6ab7f8fd22f7e6f72ec33ea77b..ea3fc775bb1512ba39e1ddd33545498702bf4348 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index 7eab402eaf7a4fe6cd57e032041f7d3573f6398d..41527208ab845a76c28518bb15471ea5c2637412 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32,hv-crash \
+-cpu qemu64,hv-crash \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index 4aa78bc98f650cf97e933e121c16526a67a0e640..bdcf33c1bfa87936084726a7105727447af85ddc 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32,hv-vpindex,hv-synic,hv-stimer,hv-stimer-direct \
+-cpu qemu64,hv-vpindex,hv-synic,hv-stimer,hv-stimer-direct \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index f30438dd916a0da0132e9cd8946e275246b2ccf9..73825538604d2ecd1ad649c071198c8e6cf81ef6 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu 'qemu32,hv-relaxed,hv-vapic,hv-spinlocks=0x2fff,hv-vpindex,hv-runtime,\
+-cpu 'qemu64,hv-relaxed,hv-vapic,hv-spinlocks=0x2fff,hv-vpindex,hv-runtime,\
 hv-synic,hv-stimer,hv-reset,hv-vendor-id=KVM Hv,hv-frequencies,\
 hv-reenlightenment,hv-tlbflush,hv-ipi,hv-evmcs' \
 -m 214 \
index 3c88f0e38f3e1b4217d7bfbd22d49565ebd503bb..c232121595cdac0c09ecef3d3f7a0c223513abc3 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine q35,accel=kvm,usb=off,dump-guest-core=off,kernel_irqchip=split \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 23e3702cda4da785c2e70bb99c6b6155431a45fc..ad2ce73aa691e9162c391394cdd0f06921cffc43 100644 (file)
@@ -11,6 +11,9 @@
   <features>
     <ioapic driver='qemu'/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index ff201ec5e8279293e69136877a5e3533eb62c048..addb45a0b3db5e698133b59d51e5fca6f01f4f1c 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine q35,accel=kvm,usb=off,dump-guest-core=off,kernel_irqchip=split \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index fe365eedc8ec0c1cd10d20ae225257251bfbacd3..1b5b3f04e9c3545495b5c061a6bfb4254059379d 100644 (file)
@@ -11,6 +11,9 @@
   <features>
     <ioapic driver='qemu'/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 53dee161a8db003ec59171701cdc9698c064bd43..98650baaaaef16a139fcbd80416f4c6a0291c781 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine q35,accel=kvm,usb=off,dump-guest-core=off,kernel_irqchip=split \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 288,sockets=288,cores=1,threads=1 \
index 9770f77383e1c1395f5fd6933213ad34d9e4f76c..81b1769c4895db7dcdaf1e6059d853d8df48c6ce 100644 (file)
@@ -11,6 +11,9 @@
   <features>
     <ioapic driver='qemu'/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 4ebb4d15d9391a485c06407db6f6169efe586d18..eb491e17b4d23afda11b585badd97e03ead60747 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc-q35-2.6,accel=tcg,usb=off,dump-guest-core=off,iommu=on \
+-cpu qemu64 \
 -m 214 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index b4c8ca30b2d5d0c1f1a00b9a79529c0d9c62bc80..92d25f6d4194f20e0ce92dafb888962e76252304 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine q35,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 90aba161567c752d8c68b73131fd17093c603392..d8812ca81da1fe449970c9f861f332af0dd015d4 100644 (file)
@@ -8,6 +8,9 @@
     <type arch='x86_64' machine='q35'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 3d4bf3f0d6dd7929ce661f54ab0a015c00b37060..940a5d1f91f8bbbeb71f6c29bb47e5eebd60a3c4 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine virt,accel=tcg,usb=off,dump-guest-core=off,gic-version=2,iommu=smmuv3 \
+-cpu cortex-a15 \
 -m 1024 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index eadbba352a5077a8957177d35827237840ddb8b3..bdc060aaa2ff5f088ad8163e4a62ca1a2c5df8a6 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 8785f0bb44ccf6d66fc0c2396186fe3487aa78fe..c366520e096d5f3df009affa5a163747fd27654e 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,cores=1,threads=1 \
index 51b72b3f331a279ad04a5dbd38b18fde8e475861..c4cd5f5beb87690ce3c4799b3c787035dc84f133 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32,kvmclock=off,kvm-pv-eoi=off \
+-cpu qemu64,kvmclock=off,kvm-pv-eoi=off \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index c8a6ec5755a97ac1f9193bfb947b014762240776..89138f46c4bd18e85c63c69225fd25beed9fe298 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off,nvdimm=on \
+-cpu qemu64 \
 -m size=219136k,slots=16,maxmem=1099511627776k \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,dies=1,cores=1,threads=1 \
index 60e9e80039f7ba0c064f48923dee7911f90abb81..1a8e7932dcf11eec211e1056cb66cc3d4cd395c8 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off,nvdimm=on \
+-cpu qemu64 \
 -m size=219136k,slots=16,maxmem=1099511627776k \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,dies=1,cores=1,threads=1 \
index 8c5e483cbbf20cac6ff2d10307f99ae63c633deb..ef32c663decfb3909b69dd7517885b06152aa2c8 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off,nvdimm=on \
+-cpu qemu64 \
 -m size=219136k,slots=16,maxmem=1099511627776k \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,dies=1,cores=1,threads=1 \
index 7f77ab9fcea56732bd0c9dc6167d8f9348781739..5dfba9b50a33f19a3a60b8f1e3b78e974c2ba6cf 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off,nvdimm=on \
+-cpu qemu64 \
 -m size=219136k,slots=16,maxmem=1099511627776k \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,dies=1,cores=1,threads=1 \
index 631835a38037ca4b636db7889c0c69dd77707079..7088a4f05472584b90d6ca052516d76cfb642773 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off,nvdimm=on \
+-cpu qemu64 \
 -m size=219136k,slots=16,maxmem=1099511627776k \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,dies=1,cores=1,threads=1 \
index 48221a55264a39adf80587e9c4364b846f0f9c54..60d6d207c540921dbd1bbd9bb26fefebbd863f9d 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off,nvdimm=on \
+-cpu qemu64 \
 -m size=1048576k,slots=16,maxmem=1099511627776k \
 -overcommit mem-lock=off \
 -smp 2,sockets=2,dies=1,cores=1,threads=1 \
index daf40197aba5fc26f35a32f85ac310df8242db86..967fe4c82608c55fa8bab8494492e68501e9a452 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 04d43af8597b93cceace3c15e797c737ed19161d..167214fd6493ef1e9f6607a181949a861772d98d 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=on \
 -smp 1,sockets=1,cores=1,threads=1 \
index c2b498c616063aaf36f232cc69a8139542903677..27fa24a64fb48fc856114d210fb607cc7dca03bd 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 7519ecc742511dff5bb675e565702106ca0d4fab..b3383da9a74a6d9225cdb639f6159e1fda9440e5 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=kvm,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 2beec7109bcda0117e3e91312214f6fff7d6a74c..b5845256055fa7f101a4a287de56bd64afb2fe83 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine pseries,accel=tcg,usb=off,dump-guest-core=off \
+-cpu POWER9 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 821c6976f03e149c52233e5ae9f6894034756213..8002aa79a7c62926f57b36efcbdb9e09572efb9b 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine pseries,accel=tcg,usb=off,dump-guest-core=off \
+-cpu POWER9 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 6f07b3268502f9683e39463bcc5eb98291fb47f9..eb449837bfe01b2a51601b56f999dc6e9c0b59b0 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32,kvm-pv-unhalt=off \
+-cpu qemu64,kvm-pv-unhalt=off \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index ad8dffc9e57702a0d20547dbd2575f614d2042d8..af14fa05a9bbc2f1e99bcfd951b05328f5a54bca 100644 (file)
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
--cpu qemu32,kvm-pv-unhalt=on \
+-cpu qemu64,kvm-pv-unhalt=on \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 6,sockets=6,cores=1,threads=1 \
index 51ba863a5fe5f3a07bf01f53ee87e12e00e32ae4..7864f904021a552eade7524b2e5296840d05f8af 100644 (file)
@@ -15,6 +15,7 @@ BAR='' \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 64c11cd04626dedb6b652366524ea0202b7a7931..8f72b20b0bcc94055c2ed1c568e59b127d03f220 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 9b3723eff062c2554fb93d1c6aeee90b8b1373bb..95caf9e9edbea48efb5a221a06360d8b167f4d2a 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 3e42d2577b9376ed4153b0175b2c13dbfc698ea8..05d42adda15071d44f558908a665f3b45012dfd2 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 689333a22e8d3adec37360221d9deb786e268d54..4f1e3242ed84cf2805f4a53a446fd1cd36d1090c 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=kvm,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index a08cbc0a28a2b55f7b881298b1ce4ef25de0d403..d6abba6817304aeecaa62f094f57fc4366367971 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=kvm,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 1f42fdce192978a40f3e980b026f842610a8faaf..e99a5342dc2a7a512f80d3bbdb8de4bac8b227ac 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index b8f6d1243cd40e550c25e2dfb082ba0fb51b18ae..277bf8c6463a8ca0e46d926d1217cb370d3c0e45 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 6bbe84f14a8e1b25fcba3232a82326f04b672d56..17b5ded6b832bde2f547b66e2c948e639ca1fe60 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 791604eb99b82d7ac8e4029b4c767e6a97255c33..81a6b8cb42f03466af55b674b5321bda792e91d3 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 4d1f81f9333b475565b10dba646482952234c30f..b7fef1fe08797c0f4c614ee9426750f23e3e65cb 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 1024 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 296e7c1347e63afe0d63097845e807d064b3a398..f12cef85493ace64c82cac02a8f49c5323f0bc5e 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 1024 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 486e5b70af92de83730205505ca189f91b90ae14..d651b6990299541b6c65d0e081e519f76abceb1b 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 1024 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 707061269e3c207691c57d4c1c19ddd2aff6f30f..6fe792f46d54d3000675ddf8bd9cdfe1eed199bd 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 1024 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 7fa2c6ed5f8cfd6710151415497f485122b5e914..0d751ea7ae2e17e322ebfe4259e6b6df392b1a51 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine q35,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index e55117728c5324344e686e4487f282f37aeb8e96..fe01d661e075241e449d1b3de57328fc1295f1e1 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=kvm,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index edcbddc3330fa2a5b8e1c0a36b5c8f3ed1a6e774..37fb988b750a65e6d740ae9d69a77d1690333826 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine pc,accel=kvm,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index dea7e0d3f3bfc2b18f4c6ce9f381e0dfe1c426f4..0bd0da05d0e13b2d3e1d7b5a4333671325078b87 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
 -machine q35,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 214 \
 -overcommit mem-lock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 7c9c5a0bc65349d42138af022431aa791df267d9..b6c06961d79d5e1bbf5125db8396941c15565c77 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 7f825462aa55bd394f77e56cbdb003174627adfe..0fa713419805037ad1cf14ad1b4ad0ec32303a14 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine pc,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 52fa25898d8e03c57098881a5104b194b2557a26..5a6fbe65df6cecdee6ac85d46a86550ccec4bb4a 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine q35,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 0cda5c32278ffa1c2f18259ea23b0c7c33042e3c..8a8728e59c9f93813dc4eb81180123d48ccf4476 100644 (file)
@@ -13,6 +13,7 @@ QEMU_AUDIO_DRV=none \
 -object secret,id=masterKey0,format=raw,\
 file=/tmp/lib/domain--1-guest/master-key.aes \
 -machine q35,accel=tcg,usb=off,dump-guest-core=off \
+-cpu qemu64 \
 -m 4096 \
 -overcommit mem-lock=off \
 -smp 4,sockets=4,cores=1,threads=1 \
index 418fa29def980a0bec9f78233664cc76c053a97c..3a343941bc12b620af5abf17c1d2616be4c4bba8 100644 (file)
@@ -19,6 +19,9 @@
     <acpi/>
     <gic version='2'/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>cortex-a15</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 9b08a039816943f602c859baf88f54f4aa7d0180..dad8e605e5e678e9bfabff6eb472356d69188cd9 100644 (file)
@@ -19,6 +19,9 @@
     <acpi/>
     <gic version='2'/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>cortex-a15</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index b12d768eab5680b996cc5b8f76ce388caaf0cb81..bbc3b0586fba2ddf252f44590211900e3670d3c9 100644 (file)
@@ -8,6 +8,7 @@
     <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='host-model' check='partial'/>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index b0eaeb10ba3bc6157e6d7cd2ec2c48a342a77063..34267e4d1d2e43763caea93cd6215276252c18b3 100644 (file)
@@ -8,6 +8,9 @@
     <type arch='i686' machine='pc'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 28390e51a6b72e29072cf49421788a3e21b6b1dd..84b988e5bbdffe815416caf155274065113bc380 100644 (file)
@@ -12,6 +12,9 @@
   <features>
     <acpi/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index e94846f453e2920544d5005f497dd2e816c55903..ded700d247c3e4efdbc7c29595f233d2b0c4e49a 100644 (file)
@@ -12,6 +12,9 @@
   <features>
     <acpi/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index f8ab86afa04a99e8c6721fddaaef829b2bed4172..aedf32e2394a6032e35b0c049affad10fdcd708f 100644 (file)
@@ -12,6 +12,9 @@
   <features>
     <acpi/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index c0813aa1dc0182d81e21f1e10b4b2537c1187993..6c64ce74a8b7beb19dc4c02b4d8fede4ba937e8d 100644 (file)
@@ -12,6 +12,9 @@
   <features>
     <acpi/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 68defea44cece873d007cebdebdb250e4216e08c..0342217cd0383491e1c404d375db72fcf2dedaa4 100644 (file)
@@ -7,6 +7,9 @@
   <os>
     <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 85027cd938a4deda28559a16ba7f4db086bc546f..ea3576a52d9af75f4359bebe2330285f9eab573d 100644 (file)
@@ -8,6 +8,9 @@
     <type arch='x86_64' machine='pc-q35-2.6'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 93e8566deae132ab2f6532c16217a737e8dfc7a9..53edd3f851e3ae8e720c924776a9dc3a282ab6f8 100644 (file)
@@ -11,6 +11,9 @@
   <features>
     <gic version='2'/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>cortex-a15</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index bbb1e33007c1fd799f47aa95b9d885732c335956..052bb34a8a4672a1d869663f39c95b7433562f98 100644 (file)
@@ -13,6 +13,9 @@
     <type arch='ppc64' machine='pseries'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>POWER9</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 8634f8ae3c5be8635e7b73fba94d871dd3dea1a4..aa6f51c7e6a972b75a6b9c778f1b7a7b1396edbe 100644 (file)
@@ -13,6 +13,9 @@
     <type arch='ppc64' machine='pseries'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>POWER9</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index a601ab85c21f77049b363aca70f0aebd5f965952..74118349af9cb56000cfb8b2baef765992bd2703 100644 (file)
@@ -13,6 +13,9 @@
     <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 55de903c0a1c448d1c39e50260ae65cc5565a2c3..6ab1b46c9536bbb9d8e4809de495f622d91e0fff 100644 (file)
@@ -13,6 +13,9 @@
     <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 4e7d1ee3b13e9c0e1144cafbd70373d7137b63f0..d84ed2223cf0c349270c575464b412d3201d2d95 100644 (file)
@@ -8,6 +8,9 @@
     <type arch='x86_64' machine='q35'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 9ff57c4ad6e76e072bf5ce0dd6e8a4e65952fe10..19dd8e85bfe461ef41917ca689a5d0cd32f41443 100644 (file)
@@ -8,6 +8,9 @@
     <type arch='x86_64' machine='pc'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index 2293e5be3e3ebcbd7b95c1707a287dec6211e1aa..af3218a027421a53a5f738c255ac831701888301 100644 (file)
@@ -8,6 +8,9 @@
     <type arch='x86_64' machine='q35'>hvm</type>
     <boot dev='hd'/>
   </os>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
index a30926083b389d21e9e8cd2c9d39a61dc0233c0f..28c23af12abd47ca8f0eb3c501bfe7612781944b 100644 (file)
@@ -17,6 +17,9 @@
     <acpi/>
     <apic/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'>
     <timer name='rtc' tickpolicy='catchup'/>
     <timer name='pit' tickpolicy='delay'/>
index 3b200c22acd7764d7bc9a03b95751d33a7943660..cd46399fe6443ffb8e09bb6c613d9626afcc73df 100644 (file)
@@ -17,6 +17,9 @@
     <acpi/>
     <apic/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'>
     <timer name='rtc' tickpolicy='catchup'/>
     <timer name='pit' tickpolicy='delay'/>
index 79c82f9d4f6016aa21bd8e6206426b87c795b9d4..e14c57d87e2fd1222eb2691562618968a97fcf7c 100644 (file)
@@ -17,6 +17,9 @@
     <acpi/>
     <apic/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'>
     <timer name='rtc' tickpolicy='catchup'/>
     <timer name='pit' tickpolicy='delay'/>
index 18cfe8a94c4e70cda96199ee686d8993af65d400..664a12e1e6ea238822c35c4b53b51ffcf6361dec 100644 (file)
@@ -17,6 +17,9 @@
     <acpi/>
     <apic/>
   </features>
+  <cpu mode='custom' match='exact' check='none'>
+    <model fallback='forbid'>qemu64</model>
+  </cpu>
   <clock offset='utc'>
     <timer name='rtc' tickpolicy='catchup'/>
     <timer name='pit' tickpolicy='delay'/>