aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorEwanHai <ewanhai-oc@zhaoxin.com>2025-01-13 02:44:10 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-26 09:54:57 +0100
commit5d20aa540b6991c0dbeef933d2055e5372f52e0e (patch)
treed36f4c4b6f058e774de5015bff86c27f6fe1786c /rust/qemu-api/src
parentaeb7969cba971472aba7a3bf1e0df1bcc1b6f44c (diff)
downloadqemu-5d20aa540b6991c0dbeef933d2055e5372f52e0e.zip
qemu-5d20aa540b6991c0dbeef933d2055e5372f52e0e.tar.gz
qemu-5d20aa540b6991c0dbeef933d2055e5372f52e0e.tar.bz2
target/i386: Add support for Zhaoxin CPU vendor identification
Zhaoxin currently uses two vendors: "Shanghai" and "Centaurhauls". It is important to note that the latter now belongs to Zhaoxin. Therefore, this patch replaces CPUID_VENDOR_VIA with CPUID_VENDOR_ZHAOXIN1. The previous CPUID_VENDOR_VIA macro was only defined but never used in QEMU, making this change straightforward. Additionally, the IS_ZHAOXIN_CPU macro has been added to simplify the checks for Zhaoxin CPUs. Signed-off-by: EwanHai <ewanhai-oc@zhaoxin.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250113074413.297793-2-ewanhai-oc@zhaoxin.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions