libvirt/tests/domaincapsdata
Tim Wiederhake fa54595178 cpu_map: Drop 'mpx' from x86 cpu models
The mpx feature was removed from the corresponding qemu cpu models.
With mpx in the libvirt cpu models, libvirt believes the feature
to be implicitly enabled when creating qemu VMs, while in fact it is
disabled.

This became an issue when commit 94eacd5a5f introduced new vmx-*
features, of which some are dependent on mpx (see "feature_dependencies"
table in qemu target/i386/cpu.c), e.g. vmx-exit-clear-bndcfgs and
vmx-entry-load-bndcfgs. These features cannot be enabled by qemu
without also mpx being enabled, leading to the error message

    error: Failed to create domain from testdomain.xml
    error: operation failed: guest CPU doesn't match
    specification: missing features: mpx,vmx-exit-clear-bndcfgs,
    vmx-entry-load-bndcfgs

when trying to create a VM with a "host-model" cpu on a host that
does support mpx and the mentioned vmx-* features:

    <domain>
      ...
      <cpu mode='host-model' check='full' />
      ...
    </domain>

Resolve the issue by removing mpx from libvirt's cpu models as well.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-05-02 19:56:45 +02:00
..
bhyve_basic.x86_64.xml
bhyve_fbuf.x86_64.xml
bhyve_uefi.x86_64.xml
empty.xml
libxl-xenfv.xml
libxl-xenpv.xml
qemu_4.2.0-q35.x86_64.xml cpu_map: Drop 'mpx' from x86 cpu models 2024-05-02 19:56:45 +02:00
qemu_4.2.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_4.2.0-virt.aarch64.xml
qemu_4.2.0.aarch64.xml
qemu_4.2.0.ppc64.xml
qemu_4.2.0.s390x.xml
qemu_4.2.0.x86_64.xml cpu_map: Drop 'mpx' from x86 cpu models 2024-05-02 19:56:45 +02:00
qemu_5.0.0-q35.x86_64.xml cpu_map: Drop 'mpx' from x86 cpu models 2024-05-02 19:56:45 +02:00
qemu_5.0.0-tcg-virt.riscv64.xml
qemu_5.0.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_5.0.0-virt.aarch64.xml
qemu_5.0.0-virt.riscv64.xml
qemu_5.0.0.aarch64.xml
qemu_5.0.0.ppc64.xml
qemu_5.0.0.x86_64.xml cpu_map: Drop 'mpx' from x86 cpu models 2024-05-02 19:56:45 +02:00
qemu_5.1.0-q35.x86_64.xml
qemu_5.1.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_5.1.0.sparc.xml
qemu_5.1.0.x86_64.xml
qemu_5.2.0-q35.x86_64.xml
qemu_5.2.0-tcg-virt.riscv64.xml
qemu_5.2.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_5.2.0-virt.aarch64.xml
qemu_5.2.0-virt.riscv64.xml
qemu_5.2.0.aarch64.xml
qemu_5.2.0.ppc64.xml
qemu_5.2.0.s390x.xml
qemu_5.2.0.x86_64.xml
qemu_6.0.0-q35.x86_64.xml
qemu_6.0.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_6.0.0-virt.aarch64.xml
qemu_6.0.0.aarch64.xml
qemu_6.0.0.s390x.xml
qemu_6.0.0.x86_64.xml
qemu_6.1.0-q35.x86_64.xml
qemu_6.1.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_6.1.0.x86_64.xml
qemu_6.2.0-q35.x86_64.xml
qemu_6.2.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_6.2.0-virt.aarch64.xml
qemu_6.2.0.aarch64.xml
qemu_6.2.0.ppc64.xml
qemu_6.2.0.x86_64.xml
qemu_7.0.0-hvf.aarch64+hvf.xml
qemu_7.0.0-q35.x86_64.xml
qemu_7.0.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_7.0.0-virt.aarch64.xml
qemu_7.0.0.aarch64.xml
qemu_7.0.0.ppc64.xml
qemu_7.0.0.x86_64.xml
qemu_7.1.0-q35.x86_64.xml
qemu_7.1.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_7.1.0.ppc64.xml
qemu_7.1.0.x86_64.xml
qemu_7.2.0-hvf.x86_64+hvf.xml
qemu_7.2.0-q35.x86_64.xml
qemu_7.2.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_7.2.0-tcg.x86_64+hvf.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_7.2.0.ppc.xml
qemu_7.2.0.x86_64.xml
qemu_8.0.0-q35.x86_64.xml
qemu_8.0.0-tcg-virt.riscv64.xml
qemu_8.0.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_8.0.0-virt.riscv64.xml
qemu_8.0.0.x86_64.xml
qemu_8.1.0-q35.x86_64.xml
qemu_8.1.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_8.1.0.s390x.xml
qemu_8.1.0.x86_64.xml
qemu_8.2.0-q35.x86_64.xml
qemu_8.2.0-tcg-virt.loongarch64.xml Add test script for loongarch 2024-03-21 14:42:27 +01:00
qemu_8.2.0-tcg.x86_64.xml cpu_map: Sort cpu features 2024-02-20 17:29:27 +01:00
qemu_8.2.0-virt.aarch64.xml
qemu_8.2.0-virt.loongarch64.xml Add test script for loongarch 2024-03-21 14:42:27 +01:00
qemu_8.2.0.aarch64.xml
qemu_8.2.0.armv7l.xml qemucapabilitiestest: Add test dump for 'armv7l' architecture 2024-03-06 16:30:35 +01:00
qemu_8.2.0.s390x.xml
qemu_8.2.0.x86_64.xml
qemu_9.0.0-q35.x86_64.xml qemucapabilitiestest: Update qemu-9.0 capabilities for RC1 2024-04-03 10:41:45 +02:00
qemu_9.0.0-tcg.x86_64.xml qemucapabilitiestest: Update qemu-9.0 capabilities for RC1 2024-04-03 10:41:45 +02:00
qemu_9.0.0.x86_64.xml