Add a flag to virConnectBaselineCPU to filter out features
that block migration.
Ján Tomko (5):
Also store features blocking migration as CPUx86Data in the cpu map
Add VIR_CONNECT_BASELINE_CPU_MIGRATABLE flag
Implement VIR_CONNECT_BASELINE_CPU_MIGRATABLE in the x86 cpu driver
Trivially implement VIR_CONNECT_BASELINE_CPU_MIGRATABLE for non-x86
cpus
Add --migratable support to virsh cpu-baseline
include/libvirt/libvirt-host.h | 1 +
src/bhyve/bhyve_driver.c | 3 +-
src/cpu/cpu_aarch64.c | 3 +-
src/cpu/cpu_arm.c | 3 +-
src/cpu/cpu_generic.c | 3 +-
src/cpu/cpu_powerpc.c | 3 +-
src/cpu/cpu_x86.c | 47 ++++++++++++++++++++++++-
src/libvirt-host.c | 3 ++
src/qemu/qemu_driver.c | 3 +-
tests/cputest.c | 6 ++++
tests/cputestdata/x86-baseline-6-migratable.xml | 10 ++++++
tests/cputestdata/x86-baseline-6-result.xml | 11 ++++++
tests/cputestdata/x86-baseline-6.xml | 37 +++++++++++++++++++
tools/virsh-domain.c | 6 ++++
tools/virsh.pod | 5 +--
15 files changed, 135 insertions(+), 9 deletions(-)
create mode 100644 tests/cputestdata/x86-baseline-6-migratable.xml
create mode 100644 tests/cputestdata/x86-baseline-6-result.xml
create mode 100644 tests/cputestdata/x86-baseline-6.xml
--
2.0.5