]> git.ipfire.org Git - thirdparty/qemu.git/commit
Revert "i386/cpu: Warn about why CPUID_EXT_PDCM is not available"
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Aug 2025 15:02:35 +0000 (17:02 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 19 Aug 2025 18:05:56 +0000 (14:05 -0400)
commitfaaaf017d5b9c9f84fb86dcee016944176eee0d9
treea4debb5936ebef8cd2d6270fd9f88e4b5baf384e
parent5836af0783213b9355a6bbf85d9e6bc4c9c9363f
Revert "i386/cpu: Warn about why CPUID_EXT_PDCM is not available"

This reverts commit 00268e00027459abede448662f8794d78eb4b0a4.
(The only conflict is in the !is_tdx_vm() part of the condition,
which is safe to keep).

mark_unavailable_features() actively blocks usage of the feature,
so it is a functional change, not merely a emitting warning.
The commit was intended to merely warn if PDCM was enabled when
the performance counters are not, so revert it.

Reported-by: Christian A. Ehrhardt <christian.ehrhardt@canonical.com>
Analyzed-by: Daniel P. Berrangé <berrange@redhat.com>
Analyzed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250819150235.785559-1-pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
target/i386/cpu.c