-
公开(公告)号:US12056519B2
公开(公告)日:2024-08-06
申请号:US17217519
申请日:2021-03-30
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jing Lin , Mohua Li , Sibiao Luo , Hai Deng
CPC classification number: G06F9/4856 , G06F9/45558 , G06F2009/4557
Abstract: A virtual machine migration method and apparatus, that the method includes: downloading an image file of a to-be-migrated virtual machine from an object storage; starting a preset command to process the downloaded image file, to obtain a private image corresponding to the image file of the to-be-migrated virtual machine, and provisioning, by using the private image, a virtual machine that runs on a destination virtualization platform, where the preset command is configured based on a difference between a source virtualization platform and the destination virtualization platform. According to the foregoing method, the image file of the to-be-migrated virtual machine is processed by executing the preset command, so that automatic migration of the image file of the to-be-migrated virtual machine can be implemented, and a user does not need to perform a manual operation. This effectively improves migration efficiency and meets a user requirement.