diff options
| author | Hector Cao <hector.cao@canonical.com> | 2025-09-23 12:16:41 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-10-07 17:03:32 +0200 |
| commit | 6529f31e0dccadb532c80b36e3efe7aef83f9cad (patch) | |
| tree | 30365be93e67b391ab430adcf0904c4cbc51cb3b /scripts/lib/kdoc/kdoc_parser.py | |
| parent | e9efa4a77168ac2816bf9471f878252ce6224710 (diff) | |
| download | qemu-6529f31e0dccadb532c80b36e3efe7aef83f9cad.zip qemu-6529f31e0dccadb532c80b36e3efe7aef83f9cad.tar.gz qemu-6529f31e0dccadb532c80b36e3efe7aef83f9cad.tar.bz2 | |
target/i386: add compatibility property for pdcm feature
The pdcm feature is supposed to be disabled when PMU is not
available. Up until v10.1, pdcm feature is enabled even when PMU
is off. This behavior has been fixed but this change breaks the
migration of VMs that are run with QEMU < 10.0 and expect the pdcm
feature to be enabled on the destination host.
This commit restores the legacy behavior for machines with version
prior to 10.1 to allow the migration from older QEMU to QEMU 10.1.
Signed-off-by: Hector Cao <hector.cao@canonical.com>
Link: https://lore.kernel.org/r/20250910115733.21149-3-hector.cao@canonical.com
Fixes: e68ec298090 ("i386/cpu: Move adjustment of CPUID_EXT_PDCM before feature_dependencies[] check", 2025-06-20)
[Move property from migration object to CPU. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
