summary refs log tree commit diff stats
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2024-11-06 11:07:18 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-01-10 23:34:44 +0100
commitcf4c263551886964c5d58bd7b675b13fd497b402 (patch)
tree8cef159012ca27785e8e58dc0cace9bb5e632b0a /rust/qemu-api/src
parentef682b08a0b52f4e6d9d790e26291f146e05734a (diff)
downloadfocaccia-qemu-cf4c263551886964c5d58bd7b675b13fd497b402.tar.gz
focaccia-qemu-cf4c263551886964c5d58bd7b675b13fd497b402.zip
i386/cpu: Mark avx10_version filtered when prefix is NULL
In x86_cpu_filter_features(), if host doesn't support AVX10, the
configured avx10_version should be marked as filtered regardless of
whether prefix is NULL or not.

Check prefix before warn_report() instead of checking for
have_filtered_features.

Cc: qemu-stable@nongnu.org
Fixes: commit bccfb846fd52 ("target/i386: add AVX10 feature and AVX10 version property")
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Tao Su <tao1.su@linux.intel.com>
Link: https://lore.kernel.org/r/20241106030728.553238-2-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions