Host CPU model is basically the same with max CPU model, except Product
ID and CPU model name. With host CPU model, Product ID comes from
cpucfg0 on host machine and CPU model from /proc/cpuinfo.
Bibo Mao (3):
target/loongarch: Add detailed information with CPU Product ID
target/loongarch: Add generic CPU model information
target/loongarch: Add host CPU model in kvm mode
hw/loongarch/virt.c | 6 ++-
target/loongarch/cpu.c | 108 ++++++++++++++++++++++++++++++++++++++++-
target/loongarch/cpu.h | 16 +++++-
3 files changed, 125 insertions(+), 5 deletions(-)
base-commit: a8e63c013016f9ff981689189c5b063551d04559
--
2.39.3