libvirt/tests/domaincapsschemadata
Jiri Denemark 385c1cc96c qemu: Check non-migratable host CPU features
CPU features which change their value from disabled to enabled between
two calls to query-cpu-model-expansion (the first with no extra
properties set and the second with 'migratable' property set to false)
can be marked as enabled and non-migratable in qemuMonitorCPUModelInfo.

Since the code consuming qemuMonitorCPUModelInfo currently ignores the
migratable flag, this change is effectively changing the CPU model
advertised in domain capabilities to contain all features (even those
which block migration). And this matches what we do for QEMU older than
2.9.0, when we detect all CPUID bits ourselves without asking QEMU.

As a result of this change

    <cpu mode='host-model'>
      <feature name='invtsc' policy='require'/>
    </cpu>

will work with all QEMU versions. Such CPU definition would be forbidden
with QEMU >= 2.9.0 without this patch.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2017-03-30 09:59:42 +02:00
..
basic.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
bhyve_basic.x86_64.xml domaincapstest: add bhyve caps test 2017-03-26 18:44:46 +04:00
bhyve_fbuf.x86_64.xml domaincapstest: add bhyve caps test 2017-03-26 18:44:46 +04:00
bhyve_uefi.x86_64.xml domaincapstest: add bhyve caps test 2017-03-26 18:44:46 +04:00
full.xml conf: Introduce new hostdev device type mdev 2017-03-27 15:39:35 +02:00
libxl-xenfv-usb.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
libxl-xenfv.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
libxl-xenpv-usb.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
libxl-xenpv.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
qemu_1.7.0.x86_64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.6.0-gicv2-virt.aarch64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.6.0-gicv3-virt.aarch64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.6.0.aarch64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.6.0.ppc64le.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.6.0.x86_64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.7.0.s390x.xml tests: domain capabilities: qemu 2.7 and 2.8 on s390x 2017-01-06 12:24:57 +01:00
qemu_2.8.0-tcg.x86_64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.8.0.s390x.xml qemu: Fix CPU model fallback in domain capabilities 2017-02-24 14:10:57 +01:00
qemu_2.8.0.x86_64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.9.0-tcg.x86_64.xml qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_2.9.0.x86_64.xml qemu: Check non-migratable host CPU features 2017-03-30 09:59:42 +02:00