Patent ID: 11875174
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. An apparatus for upgrading a virtualization emulator comprising:
a memory configured to store instructions; and
one or more processors coupled to the memory, wherein the instructions cause the one or more processors to be configured to:
install, while a first virtual machine is running based on a first virtualization emulator of an earlier version virtualization emulator, a second virtualization emulator of a later version virtualization emulator;
start a second virtual machine using the second virtualization emulator, wherein the second virtual machine comprises same configuration information as the first virtual machine;
send, from the first virtual machine to the second virtual machine, target resource information of a virtual device of the first virtual machine;
obtain a first instruction of creating a first virtual device for the second virtual machine;
search, in response to the first instruction, the target resource information for first resource information of the first virtual device;
set the first resource information as resource information of the first virtual device;
suspend the first virtual machine after starting the second virtual machine;
suspend the second virtual machine;
send device status information of the first virtual machine to the second virtual machine; and
control the second virtual machine to resume running based on the device status information.