| 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 |

|
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.
|