By default on KVM or when user asks for it via -cpu host, cpu_model will be "host" and sPAPR merely upper-cases it for the SLOF device tree.
PATCH 1/2 : Change the SPAPR code so that we get the underlying CPU type, e.g., "POWER7_V2.3@0" in the device tree. PATCH 2/2 : Make the device-tree CPU nodes PAPR-compliant. Changelog from v2: PATCH 1/2 : Reworked and augmented by Andres Farber against original posted by Prerna. PATCH 2/2 : New. Regards, -- Prerna Saxena Linux Technology Centre, IBM Systems and Technology Lab, Bangalore, India