US 12,293,207 B2
Virtual machine hot migration method, apparatus, electronic device, and computer storage medium
Chao Zhang, Hangzhou (CN)
Assigned to Alibaba Group Holding Limited, (KY)
Filed by Alibaba Group Holding Limited, Grand Cayman (KY)
Filed on Feb. 2, 2022, as Appl. No. 17/591,459.
Application 17/591,459 is a continuation of application No. PCT/CN2020/105032, filed on Jul. 28, 2020.
Claims priority of application No. 201910715884.1 (CN), filed on Aug. 5, 2019.
Prior Publication US 2022/0156106 A1, May 19, 2022
Int. Cl. G06F 9/455 (2018.01); G06F 9/50 (2006.01); G06F 12/10 (2016.01)
CPC G06F 9/45558 (2013.01) [G06F 9/5016 (2013.01); G06F 12/10 (2013.01); G06F 2009/4557 (2013.01); G06F 2009/45583 (2013.01); G06F 2212/657 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A method comprising:
switching a first page table used for indicating a mapping relationship between a memory address of a virtual guest and a physical address of a host machine in a first physical machine to a second page table according to a switching trigger instruction;
performing a hot migration of the virtual guest from the first physical machine to a second physical machine according to the second page table, wherein a size of a physical memory page indicated by a last-level page table of the second page table satisfies a defined size, and a size of a physical memory page indicated by a last-level page table of the first page table is greater than the defined size;
determining whether the hot migration is successful;
releasing the first page table and the second page table in the first physical machine if the hot migration is successful; and
switching the second page table back to the first page table, and releasing the second page table in the first physical machine If the hot migration fails.