[PATCH 0/6] qemu: Fix incoming migration to QEMU >= 10.0.0

Jiri Denemark via Devel posted 6 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1761827183.git.jdenemar@redhat.com
src/conf/cpu_conf.c                           |  9 ++--
src/conf/cpu_conf.h                           |  2 +-
src/qemu/qemu_capabilities.c                  | 16 ++++----
src/qemu/qemu_domain.c                        | 41 +++++++------------
src/qemu/qemu_domain.h                        |  2 +-
src/qemu/qemu_monitor.c                       |  6 ++-
src/qemu/qemu_monitor.h                       |  1 +
src/qemu/qemu_monitor_json.c                  | 16 ++++++--
src/qemu/qemu_monitor_json.h                  |  1 +
src/qemu/qemu_process.c                       | 17 +++-----
tests/qemumonitorjsontest.c                   |  1 +
.../cpu-cache-disable3.x86_64-latest.args     |  2 +-
...u-check-default-partial.x86_64-latest.args |  2 +-
.../cpu-exact2-nofallback.x86_64-latest.args  |  2 +-
.../cpu-exact2-nofallback.x86_64-latest.xml   |  1 -
.../qemuxmlconfdata/cpu-exact2-nofallback.xml |  1 -
.../cpu-exact2.x86_64-latest.args             |  2 +-
.../cpu-exact2.x86_64-latest.xml              |  1 -
tests/qemuxmlconfdata/cpu-exact2.xml          |  1 -
.../cpu-host-model-cmt.x86_64-latest.args     |  2 +-
.../cpu-host-model-vendor.x86_64-latest.args  |  2 +-
.../cpu-minimum1.x86_64-latest.args           |  2 +-
.../cpu-minimum2.x86_64-latest.args           |  2 +-
.../cpu-phys-bits-emulate2.x86_64-latest.args |  2 +-
.../cpu-strict1.x86_64-latest.args            |  2 +-
.../cpu-strict1.x86_64-latest.xml             |  1 -
tests/qemuxmlconfdata/cpu-strict1.xml         |  1 -
.../cpu-tsc-frequency.x86_64-latest.args      |  2 +-
28 files changed, 63 insertions(+), 77 deletions(-)
[PATCH 0/6] qemu: Fix incoming migration to QEMU >= 10.0.0
Posted by Jiri Denemark via Devel 1 month, 1 week ago
Incoming migration of domains with multiple CPU threads to QEMU 10.0.0
or newer is broken unless "ht" feature is explicitly enabled in the
domain XML.

See 6/6 for details.

Jiri Denemark (6):
  cpu_conf: Make virCPUDefFilterFeatures return void
  qemu_domain: Simplify qemuDomainFixupCPUs
  qemu_domain: Fix qemuDomainFixupCPUs
  qemu_process: Always fix CPUs on reconnect
  qemu_monitor: Filter CPU features reported by QEMU
  qemu: Ignore "ht" CPU feature

 src/conf/cpu_conf.c                           |  9 ++--
 src/conf/cpu_conf.h                           |  2 +-
 src/qemu/qemu_capabilities.c                  | 16 ++++----
 src/qemu/qemu_domain.c                        | 41 +++++++------------
 src/qemu/qemu_domain.h                        |  2 +-
 src/qemu/qemu_monitor.c                       |  6 ++-
 src/qemu/qemu_monitor.h                       |  1 +
 src/qemu/qemu_monitor_json.c                  | 16 ++++++--
 src/qemu/qemu_monitor_json.h                  |  1 +
 src/qemu/qemu_process.c                       | 17 +++-----
 tests/qemumonitorjsontest.c                   |  1 +
 .../cpu-cache-disable3.x86_64-latest.args     |  2 +-
 ...u-check-default-partial.x86_64-latest.args |  2 +-
 .../cpu-exact2-nofallback.x86_64-latest.args  |  2 +-
 .../cpu-exact2-nofallback.x86_64-latest.xml   |  1 -
 .../qemuxmlconfdata/cpu-exact2-nofallback.xml |  1 -
 .../cpu-exact2.x86_64-latest.args             |  2 +-
 .../cpu-exact2.x86_64-latest.xml              |  1 -
 tests/qemuxmlconfdata/cpu-exact2.xml          |  1 -
 .../cpu-host-model-cmt.x86_64-latest.args     |  2 +-
 .../cpu-host-model-vendor.x86_64-latest.args  |  2 +-
 .../cpu-minimum1.x86_64-latest.args           |  2 +-
 .../cpu-minimum2.x86_64-latest.args           |  2 +-
 .../cpu-phys-bits-emulate2.x86_64-latest.args |  2 +-
 .../cpu-strict1.x86_64-latest.args            |  2 +-
 .../cpu-strict1.x86_64-latest.xml             |  1 -
 tests/qemuxmlconfdata/cpu-strict1.xml         |  1 -
 .../cpu-tsc-frequency.x86_64-latest.args      |  2 +-
 28 files changed, 63 insertions(+), 77 deletions(-)

-- 
2.51.0