The present invention discloses a method for mutual
simulation between heterogeneous processors, including initializing the register VPIDR_EL2 of the reference physical processor in the kernel space, writing the value of the register MIDR_EL1 contained in the physical processor to be simulated, so as to modify the kernel of the physical
machine to which the reference physical processor belongs; in the
operating system to which the reference physical processor belongs, compiling the kernel of the physical
machine to which the modified reference physical processor belongs, updating it to the
operating system where the reference physical processor is located, and running the compiled kernel to modify the value of the register VPIDR_EL2 of the reference physical processor; the
virtualization management program determines the manufacturer and / or model of the physical processor to be simulated according to the value of the register VPIDR_EL2 of the modified reference physical processor. The present invention realizes the shielding of differentiated hardware information in heterogeneous scenarios, improves user experience and avoids performance loss.