Skip to content

Fix cross migration issue with missing features: pdcm, arch-capabilities

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 12 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/i386: add compatibility property for arch_capabilitieshw/i386/pc.c target/i386/cpu.c target/i386/cpu.h +1 more+25 -51 reply
2/2target/i386: add compatibility property for pdcm featurehw/i386/pc.c target/i386/cpu.c target/i386/cpu.h+19 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHector CaoZhao Liu
1/2Co-authored-by R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFT PATCH v2 0/2] Fix cross migration issue with missing features: pdcm, arch-capabilities

Add two compatibility properties to restore legacy behavior of machine types prior to QEMU 10.1. Each of them addresses the two changes to CPUID:

- ARCH_CAPABILITIES should not be autoenabled when the CPU model specifies AMD as the vendor

- specifying PDCM without PMU now causes an error, instead of being silently dropped in cpu_x86_cpuid.

Note, I only tested this lightly.

Paolo

Hector Cao (1):
target/i386: add compatibility property for pdcm feature

Paolo Bonzini (1):
target/i386: add compatibility property for arch_capabilities

 target/i386/cpu.h     | 12 ++++++++++++
 hw/i386/pc.c          |  2 ++
 target/i386/cpu.c     | 32 +++++++++++++++++++++++++++++---
 target/i386/kvm/kvm.c |  6 +-----
 4 files changed, 44 insertions(+), 8 deletions(-)
Signature · 1 line
2.51.0