A method for upgrading a virtualization emulator, comprising: when a first virtual machine is running based on a virtualization emulator of an earlier version, installing a virtualization emulator of a later version; starting a second virtual machine by using the virtualization emulator of a later version, wherein the second virtual machine has same configuration information as the first virtual machine; sending target resource information of a virtual device of the first virtual machine from the first virtual machine to the second virtual machine; and in response to an instruction of creating a first virtual device for the second virtual machine, searching the target resource information for resource information of the first virtual device, and using the found resource information as the resource information of the first virtual device if the resource information is found; and in response to an instruction of creating a second virtual device for the second virtual machine, searching the target resource information for resource information of the second virtual device; and creating the resource information for the second virtual device if the resource information cannot be found; suspending the first virtual machine and the second virtual machine; sending device status information of the first virtual machine to the second virtual machine, wherein the device status information of the first virtual machine is running status information of a virtual device that is on the first virtual machine and that is related to a suspended service when the first virtual machine is suspended; and controlling the second virtual machine to resume running based on the device status information, wherein if the second virtual machine can resume running and run normally, the interrupted virtual machine service resumes running on the second virtual machine; and if the second virtual machine cannot resume running, the interrupted virtual machine service resumes running on the first virtual machine. when a first virtual machine is running based on a virtualization emulator of an earlier version, installing a virtualization emulator of a later version; starting a second virtual machine by using the virtualization emulator of a later version, wherein the second virtual machine has same configuration information as the first virtual machine; sending target resource information of a virtual device of the first virtual machine from the first virtual machine to the second virtual machine; and in response to an instruction of creating a first virtual device for the second virtual machine, searching the target resource information for resource information of the first virtual device, and using the found resource information as the resource information of the first virtual device if the resource information is found; and in response to an instruction of creating a second virtual device for the second virtual machine, searching the target resource information for resource information of the second virtual device; and creating the resource information for the second virtual device if the resource information cannot be found; suspending the first virtual machine and the second virtual machine; sending device status information of the first virtual machine to the second virtual machine, wherein the device status information of the first virtual machine is running status information of a virtual device that is on the first virtual machine and that is related to a suspended service when the first virtual machine is suspended; and controlling the second virtual machine to resume running based on the device status information, wherein if the second virtual machine can resume running and run normally, the interrupted virtual machine service resumes running on the second virtual machine; and if the second virtual machine cannot resume running, the interrupted virtual machine service resumes running on the first virtual machine.