[PATCH 0/7] qemu: Use migratable host CPU model from QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Current libvirt makes a migratable host CPU model by removing features
marked in cpu_map.xml with migratable='no'. This is not ideal because
cpu_map.xml is a static database while feature migrtability may differ
depending on a hypervisor or its version. Thus we should preferably use
the data we got from QEMU.

Jiri Denemark (7):
  cpu: Introduce virCPUCopyMigratable
  qemu: Move common code in virQEMUCapsInitCPUModel one layer up
  qemu: Add migratable parameter to virQEMUCapsInitCPUModel
  qemu: Move qemuCaps->{kvm,tcg}CPUModel into a struct
  qemu: Store migratable host CPU model in qemuCaps
  qemu: Pass migratable host model to virCPUUpdate
  cpu: Drop feature filtering from virCPUUpdate

 src/cpu/cpu.c                |  29 +++++++
 src/cpu/cpu.h                |   8 ++
 src/cpu/cpu_x86.c            |  34 ++++++--
 src/libvirt_private.syms     |   1 +
 src/qemu/qemu_capabilities.c | 200 ++++++++++++++++++++++++++++++-------------
 src/qemu/qemu_capabilities.h |   3 +-
 src/qemu/qemu_capspriv.h     |   3 +-
 src/qemu/qemu_command.c      |   2 +-
 src/qemu/qemu_process.c      |   4 +-
 tests/cputest.c              |   9 +-
 10 files changed, 221 insertions(+), 72 deletions(-)

-- 
2.12.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux