mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
e9bf19a4b2
Right now when building the qemu command line, we try to do various unconditional validations of the guest CPU against the host CPU. However this checks are overly applied. The only time we should use the checks are: - The user requests host-model/host-passthrough, or - When KVM is requsted. CPU features requested in TCG mode are always emulated by qemu and are independent of the host CPU, so no host CPU checks should be performed. Right now if trying to specify a CPU for arm on an x86 host, it attempts to do non-sensical validation and falls over. Switch all the test cases that were intending to test CPU validation to use KVM, so they continue to test the intended code. Amend some aarch64 XML tests with a CPU model, to ensure things work correctly. (cherry picked from commit cf7fce8f2fd1c930f357fd4ff93ac35f38eb30c6) |
||
---|---|---|
.. | ||
qemuxml2xmlout-balloon-device-auto.xml | ||
qemuxml2xmlout-boot-menu-disable-with-timeout.xml | ||
qemuxml2xmlout-channel-virtio-auto.xml | ||
qemuxml2xmlout-console-compat-auto.xml | ||
qemuxml2xmlout-console-virtio.xml | ||
qemuxml2xmlout-cpu-numa1.xml | ||
qemuxml2xmlout-cpu-numa2.xml | ||
qemuxml2xmlout-cputune-iothreads.xml | ||
qemuxml2xmlout-disk-backing-chains-active.xml | ||
qemuxml2xmlout-disk-backing-chains-inactive.xml | ||
qemuxml2xmlout-disk-drive-discard.xml | ||
qemuxml2xmlout-disk-mirror-old-inactive.xml | ||
qemuxml2xmlout-disk-mirror-old.xml | ||
qemuxml2xmlout-disk-mirror.xml | ||
qemuxml2xmlout-disk-scsi-device-auto.xml | ||
qemuxml2xmlout-disk-source-pool.xml | ||
qemuxml2xmlout-graphics-listen-network2.xml | ||
qemuxml2xmlout-graphics-spice-timeout.xml | ||
qemuxml2xmlout-hostdev-scsi-autogen-address.xml | ||
qemuxml2xmlout-memtune-unlimited.xml | ||
qemuxml2xmlout-memtune.xml | ||
qemuxml2xmlout-metadata.xml | ||
qemuxml2xmlout-numad-auto-memory-vcpu-cpuset.xml | ||
qemuxml2xmlout-numad-auto-memory-vcpu-no-cpuset-and-placement.xml | ||
qemuxml2xmlout-numad-auto-vcpu-no-numatune.xml | ||
qemuxml2xmlout-numatune-auto-prefer.xml | ||
qemuxml2xmlout-numatune-memnode.xml | ||
qemuxml2xmlout-pci-autoadd-addr.xml | ||
qemuxml2xmlout-pci-autoadd-idx.xml | ||
qemuxml2xmlout-pci-bridge-many-disks.xml | ||
qemuxml2xmlout-pcie-root.xml | ||
qemuxml2xmlout-pcihole64-gib.xml | ||
qemuxml2xmlout-q35.xml | ||
qemuxml2xmlout-s390-defaultconsole.xml | ||
qemuxml2xmlout-seclabel-dynamic-labelskip.xml | ||
qemuxml2xmlout-seclabel-dynamic-none-relabel.xml | ||
qemuxml2xmlout-seclabel-dynamic-relabel.xml | ||
qemuxml2xmlout-seclabel-none.xml | ||
qemuxml2xmlout-serial-target-port-auto.xml | ||
qemuxml2xmlout-usb-ich9-ehci-addr.xml |